(n uint16)
| 13 | } |
| 14 | |
| 15 | func (b BigEndianBuf) Uint16(n uint16) []byte { |
| 16 | buf := b[0:2] |
| 17 | binary.BigEndian.PutUint16(buf, n) |
| 18 | return buf |
| 19 | } |
| 20 | |
| 21 | func (b BigEndianBuf) Int32(n int32) []byte { |
| 22 | buf := b[0:4] |
no outgoing calls
no test coverage detected