EncodeInt16 encodes a int16 value.
(b []byte, v int16)
| 2113 | |
| 2114 | // EncodeInt16 encodes a int16 value. |
| 2115 | func (BinaryEncoding) EncodeInt16(b []byte, v int16) { |
| 2116 | binary.BigEndian.PutUint16(b, uint16(v)) |
| 2117 | } |
| 2118 | |
| 2119 | // EncodeInt32 encodes a int32 value. |
| 2120 | func (BinaryEncoding) EncodeInt32(b []byte, v int32) { |
no outgoing calls
no test coverage detected