EncodeInt64 encodes a int64 value.
(b []byte, v int64)
| 2123 | |
| 2124 | // EncodeInt64 encodes a int64 value. |
| 2125 | func (BinaryEncoding) EncodeInt64(b []byte, v int64) { |
| 2126 | binary.BigEndian.PutUint64(b, uint64(v)) |
| 2127 | } |
| 2128 | |
| 2129 | func (BinaryEncoding) EncodeDouble(b []byte, v float64) { |
| 2130 | binary.BigEndian.PutUint64(b, math.Float64bits(v)) |
no outgoing calls
no test coverage detected