EncodeFixed32 appends a 32-bit little-endian integer to the buffer.
(v uint64)
| 154 | |
| 155 | // EncodeFixed32 appends a 32-bit little-endian integer to the buffer. |
| 156 | func (b *Buffer) EncodeFixed32(v uint64) error { |
| 157 | b.buf = protowire.AppendFixed32(b.buf, uint32(v)) |
| 158 | return nil |
| 159 | } |
| 160 | |
| 161 | // EncodeFixed64 appends a 64-bit little-endian integer to the buffer. |
| 162 | func (b *Buffer) EncodeFixed64(v uint64) error { |
no outgoing calls