WriteUint32 write uint32 data with the tag.
(data uint32, tag byte)
| 266 | |
| 267 | // WriteUint32 write uint32 data with the tag. |
| 268 | func (b *Buffer) WriteUint32(data uint32, tag byte) error { |
| 269 | return b.WriteInt64(int64(data), tag) |
| 270 | } |
| 271 | |
| 272 | // WriteInt64 write int64 with the tag. |
| 273 | func (b *Buffer) WriteInt64(data int64, tag byte) error { |