(value int64)
| 264 | } |
| 265 | |
| 266 | func (b *ByteBuffer) WriteInt64(value int64) { |
| 267 | b.grow(8) |
| 268 | binary.LittleEndian.PutUint64(b.data[b.writerIndex:], uint64(value)) |
| 269 | b.writerIndex += 8 |
| 270 | } |
| 271 | |
| 272 | func (b *ByteBuffer) WriteFloat32(value float32) { |
| 273 | b.grow(4) |