WriteUint16 write uint16 with the tag.
(data uint16, tag byte)
| 242 | |
| 243 | // WriteUint16 write uint16 with the tag. |
| 244 | func (b *Buffer) WriteUint16(data uint16, tag byte) error { |
| 245 | return b.WriteInt32(int32(data), tag) |
| 246 | } |
| 247 | |
| 248 | // WriteInt32 write int32 with the tag. |
| 249 | func (b *Buffer) WriteInt32(data int32, tag byte) error { |