(value uint16)
| 214 | } |
| 215 | |
| 216 | func (b *ByteBuffer) WriteUint16(value uint16) { |
| 217 | b.grow(2) |
| 218 | binary.LittleEndian.PutUint16(b.data[b.writerIndex:], value) |
| 219 | b.writerIndex += 2 |
| 220 | } |
| 221 | |
| 222 | func (b *ByteBuffer) WriteInt16(value int16) { |
| 223 | b.grow(2) |
no test coverage detected