MCPcopy
hub / github.com/RoaringBitmap/roaring / serializedSizeInBytes

Method serializedSizeInBytes

arraycontainer.go:97–99  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

95}
96
97func (ac *arrayContainer) serializedSizeInBytes() int {
98 return ac.getCardinality() * 2
99}
100
101func arrayContainerSizeInBytes(card int) int {
102 return card * 2

Callers

nothing calls this directly

Calls 1

getCardinalityMethod · 0.95

Tested by

no test coverage detected