EncodeInt32 encodes a int32 value.
(b []byte, v int32)
| 2118 | |
| 2119 | // EncodeInt32 encodes a int32 value. |
| 2120 | func (BinaryEncoding) EncodeInt32(b []byte, v int32) { |
| 2121 | binary.BigEndian.PutUint32(b, uint32(v)) |
| 2122 | } |
| 2123 | |
| 2124 | // EncodeInt64 encodes a int64 value. |
| 2125 | func (BinaryEncoding) EncodeInt64(b []byte, v int64) { |
no outgoing calls