ToBytes returns an array of bytes corresponding to what is written when calling WriteTo
()
| 50 | // ToBytes returns an array of bytes corresponding to what is written |
| 51 | // when calling WriteTo |
| 52 | func (rb *Bitmap) ToBytes() ([]byte, error) { |
| 53 | return rb.highlowcontainer.toBytes() |
| 54 | } |
| 55 | |
| 56 | const ( |
| 57 | wordSize = uint64(64) |