should be dirt cheap
()
| 482 | |
| 483 | // should be dirt cheap |
| 484 | func (ra *roaringArray) serializedSizeInBytes() uint64 { |
| 485 | answer := ra.headerSize() |
| 486 | for _, c := range ra.containers { |
| 487 | answer += uint64(c.serializedSizeInBytes()) |
| 488 | } |
| 489 | return answer |
| 490 | } |
| 491 | |
| 492 | // spec: https://github.com/RoaringBitmap/RoaringFormatSpec |
| 493 | func (ra *roaringArray) writeTo(w io.Writer) (n int64, err error) { |
nothing calls this directly
no test coverage detected