Lines Matching refs:bin_stream_t
41 } bin_stream_t; typedef
44 void bs_open (bin_stream_t * bs, void *data);
47 void bs_reset (bin_stream_t * bs);
50 unsigned bs_write_str(bin_stream_t * bs, char *data);
53 unsigned bs_write_buf(bin_stream_t * bs, char *data, unsigned data_size);
56 unsigned bs_write_u8(bin_stream_t * bs, uint8_t data);
59 unsigned bs_write_u16(bin_stream_t * bs, uint16_t data);
62 unsigned bs_write_u32(bin_stream_t * bs, uint32_t data);
65 unsigned bs_write_u64(bin_stream_t * bs, uint64_t data);
72 char *bs_read_str(bin_stream_t * bs, char *buf, unsigned buf_size);
75 void bs_read_buf(bin_stream_t * bs, char *buf, unsigned buf_size);
78 uint8_t bs_read_u8(bin_stream_t * bs);
81 uint16_t bs_read_u16(bin_stream_t * bs);
84 uint32_t bs_read_u32(bin_stream_t * bs);
87 uint64_t bs_read_u64(bin_stream_t * bs);