33 INLINE
explicit StreamWriter(std::ostream *out,
bool owns_stream);
38 INLINE std::ostream *get_ostream()
const;
39 MAKE_PROPERTY(std::ostream, get_ostream);
41 BLOCKING INLINE
void add_bool(
bool value);
42 BLOCKING INLINE
void add_int8(int8_t value);
43 BLOCKING INLINE
void add_uint8(uint8_t value);
46 BLOCKING INLINE
void add_int16(int16_t value);
47 BLOCKING INLINE
void add_int32(int32_t value);
48 BLOCKING INLINE
void add_int64(int64_t value);
49 BLOCKING INLINE
void add_uint16(uint16_t value);
50 BLOCKING INLINE
void add_uint32(uint32_t value);
51 BLOCKING INLINE
void add_uint64(uint64_t value);
52 BLOCKING INLINE
void add_float32(
float value);
53 BLOCKING INLINE
void add_float64(PN_float64 value);
56 BLOCKING INLINE
void add_be_int16(int16_t value);
57 BLOCKING INLINE
void add_be_int32(int32_t value);
58 BLOCKING INLINE
void add_be_int64(int64_t value);
59 BLOCKING INLINE
void add_be_uint16(uint16_t value);
60 BLOCKING INLINE
void add_be_uint32(uint32_t value);
61 BLOCKING INLINE
void add_be_uint64(uint64_t value);
62 BLOCKING INLINE
void add_be_float32(
float value);
63 BLOCKING INLINE
void add_be_float64(PN_float64 value);
65 BLOCKING INLINE
void add_string(
const std::string &str);
66 BLOCKING INLINE
void add_string32(
const std::string &str);
67 BLOCKING INLINE
void add_z_string(std::string str);
68 BLOCKING INLINE
void add_fixed_string(
const std::string &str,
size_t size);
70 BLOCKING
void pad_bytes(
size_t size);
71 EXTENSION(
void append_data(PyObject *data));
73 BLOCKING INLINE
void flush();
75 BLOCKING INLINE
void write(
const std::string &str);
78 BLOCKING INLINE
void append_data(
const void *data,
size_t size);
79 BLOCKING INLINE
void append_data(
const std::string &data);