DecodeByte decodes a byte value.
(b []byte)
| 2155 | |
| 2156 | // DecodeByte decodes a byte value. |
| 2157 | func (BinaryEncoding) DecodeByte(b []byte) byte { |
| 2158 | return byte(b[0]) |
| 2159 | } |
| 2160 | |
| 2161 | // DecodeInt16 decodes a int16 value. |
| 2162 | func (BinaryEncoding) DecodeInt16(b []byte) int16 { |