(i int16)
| 20 | } |
| 21 | |
| 22 | func (wb *writeBuffer) writeInt16(i int16) { |
| 23 | binary.BigEndian.PutUint16(wb.b[:2], uint16(i)) |
| 24 | wb.Write(wb.b[:2]) |
| 25 | } |
| 26 | |
| 27 | func (wb *writeBuffer) writeInt32(i int32) { |
| 28 | binary.BigEndian.PutUint32(wb.b[:4], uint32(i)) |
no test coverage detected