DecodeInt16 decodes a int16 value.
(b []byte)
| 2160 | |
| 2161 | // DecodeInt16 decodes a int16 value. |
| 2162 | func (BinaryEncoding) DecodeInt16(b []byte) int16 { |
| 2163 | return int16(binary.BigEndian.Uint16(b)) |
| 2164 | } |
| 2165 | |
| 2166 | // DecodeInt32 decodes a int32 value. |
| 2167 | func (BinaryEncoding) DecodeInt32(b []byte) int32 { |