DecodeInt32 decodes a int32 value.
(b []byte)
| 2165 | |
| 2166 | // DecodeInt32 decodes a int32 value. |
| 2167 | func (BinaryEncoding) DecodeInt32(b []byte) int32 { |
| 2168 | return int32(binary.BigEndian.Uint32(b)) |
| 2169 | } |
| 2170 | |
| 2171 | // DecodeInt64 decodes a int64 value. |
| 2172 | func (BinaryEncoding) DecodeInt64(b []byte) int64 { |
no outgoing calls
no test coverage detected