fpi-byte-writer: Add APIs to write and get GBytes

It makes it handier to handle data elements without having to keep size
and data separated
This commit is contained in:
Marco Trevisan (Treviño)
2026-06-08 14:11:09 +02:00
committed by Marco Trevisan
parent 9c140036e9
commit 14763d29cf
3 changed files with 63 additions and 0 deletions
+2
View File
@@ -220,11 +220,13 @@ fpi_byte_writer_init
fpi_byte_writer_init_with_size
fpi_byte_writer_init_with_data
fpi_byte_writer_reset
fpi_byte_writer_reset_and_get_bytes
fpi_byte_writer_reset_and_get_data
fpi_byte_writer_free
fpi_byte_writer_free_and_get_data
fpi_byte_writer_get_remaining
fpi_byte_writer_ensure_free_space
fpi_byte_writer_put_bytes
fpi_byte_writer_put_uint8
fpi_byte_writer_put_uint16_be
fpi_byte_writer_put_uint24_be