EncodeByte encodes a byte value.
(b []byte, v byte)
| 2108 | |
| 2109 | // EncodeByte encodes a byte value. |
| 2110 | func (BinaryEncoding) EncodeByte(b []byte, v byte) { |
| 2111 | b[0] = byte(v) |
| 2112 | } |
| 2113 | |
| 2114 | // EncodeInt16 encodes a int16 value. |
| 2115 | func (BinaryEncoding) EncodeInt16(b []byte, v int16) { |
no outgoing calls
no test coverage detected