write int8_t value to buffer at current writer index. Automatically grows buffer and advances writer index.
| 691 | /// write int8_t value to buffer at current writer index. |
| 692 | /// Automatically grows buffer and advances writer index. |
| 693 | FORY_ALWAYS_INLINE void write_int8(int8_t value) { |
| 694 | grow(1); |
| 695 | unsafe_put_byte(writer_index_, static_cast<uint8_t>(value)); |
| 696 | increase_writer_index(1); |
| 697 | } |
| 698 | |
| 699 | /// write uint16_t value as fixed 2 bytes to buffer at current writer index. |
| 700 | /// Automatically grows buffer and advances writer index. |
no outgoing calls