WriteBit writes the lowest bit in x to the underlying writer
(x int)
| 74 | |
| 75 | // WriteBit writes the lowest bit in x to the underlying writer |
| 76 | func (w *Writer) WriteBit(x int) { |
| 77 | w.WriteBits(uint64(x&1), 1) |
| 78 | } |
| 79 | |
| 80 | // WriteBool writes a bool the underlying writer depending on x |
| 81 | func (w *Writer) WriteBool(x bool) { |