WriteUint8 write uint8 with the tag
(data uint8, tag byte)
| 209 | |
| 210 | // WriteUint8 write uint8 with the tag |
| 211 | func (b *Buffer) WriteUint8(data uint8, tag byte) error { |
| 212 | return b.WriteInt16(int16(data), tag) |
| 213 | } |
| 214 | |
| 215 | // WriteBool write bool with the tag. |
| 216 | func (b *Buffer) WriteBool(data bool, tag byte) error { |