(value int32)
| 232 | } |
| 233 | |
| 234 | func (b *ByteBuffer) WriteInt32(value int32) { |
| 235 | b.grow(4) |
| 236 | binary.LittleEndian.PutUint32(b.data[b.writerIndex:], uint32(value)) |
| 237 | b.writerIndex += 4 |
| 238 | } |
| 239 | |
| 240 | func (b *ByteBuffer) WriteLength(value int) { |
| 241 | b.grow(4) |