bool buffer_read_varint(buffer_t *buffer, uint64_t *value)
bool buffer_seek_end(buffer_t *buffer, size_t offset)
bool buffer_read_u16(buffer_t *buffer, uint16_t *value, endianness_t endianness)
bool buffer_copy(const buffer_t *buffer, uint8_t *out, size_t out_len)
bool buffer_seek_cur(buffer_t *buffer, size_t offset)
bool buffer_read_bip32_path(buffer_t *buffer, uint32_t *out, size_t out_len)
bool buffer_seek_set(buffer_t *buffer, size_t offset)
bool buffer_can_read(const buffer_t *buffer, size_t n)
bool buffer_read_u64(buffer_t *buffer, uint64_t *value, endianness_t endianness)
bool buffer_move(buffer_t *buffer, uint8_t *out, size_t out_len)
bool buffer_read_u32(buffer_t *buffer, uint32_t *value, endianness_t endianness)
bool buffer_read_u8(buffer_t *buffer, uint8_t *value)
size_t size
Pointer to byte buffer.
size_t offset
Size of byte buffer.