AppendInt64 writes a int64 value to buffer and advances offset.
(value int64)
| 227 | |
| 228 | // AppendInt64 writes a int64 value to buffer and advances offset. |
| 229 | func (b *BufferWriter) AppendInt64(value int64) error { |
| 230 | b.AlignBytes(1) |
| 231 | if err := b.WriteInt64(value, b.offset); err != nil { |
| 232 | return err |
| 233 | } |
| 234 | b.offset += 8 |
| 235 | return nil |
| 236 | } |
| 237 | |
| 238 | // AppendUint32 writes a uint32 value to buffer and advances offset. |
| 239 | func (b *BufferWriter) AppendUint32(value uint32) error { |
no test coverage detected