write int16_t value as fixed 2 bytes to buffer at current writer index. Automatically grows buffer and advances writer index.
| 707 | /// write int16_t value as fixed 2 bytes to buffer at current writer index. |
| 708 | /// Automatically grows buffer and advances writer index. |
| 709 | FORY_ALWAYS_INLINE void write_int16(int16_t value) { |
| 710 | grow(2); |
| 711 | unsafe_put<int16_t>(writer_index_, value); |
| 712 | increase_writer_index(2); |
| 713 | } |
| 714 | |
| 715 | /// write int24 value as fixed 3 bytes to buffer at current writer index. |
| 716 | /// Automatically grows buffer and advances writer index. |
no outgoing calls