EncodeFixed64 appends a 64-bit little-endian integer to the buffer.
(v uint64)
| 160 | |
| 161 | // EncodeFixed64 appends a 64-bit little-endian integer to the buffer. |
| 162 | func (b *Buffer) EncodeFixed64(v uint64) error { |
| 163 | b.buf = protowire.AppendFixed64(b.buf, uint64(v)) |
| 164 | return nil |
| 165 | } |
| 166 | |
| 167 | // EncodeRawBytes appends a length-prefixed raw bytes to the buffer. |
| 168 | func (b *Buffer) EncodeRawBytes(v []byte) error { |
no outgoing calls