DirectBytesStartArray
open class DirectBytesStartArray @JvmOverloads constructor(initSize: Int, bytesUsed: Counter = Counter.newCounter()) : BytesRefHash.BytesStartArray
A simple BytesStartArray that tracks memory allocation using a private Counter instance.
Functions
Link copied to clipboard
A Counter reference holding the number of bytes used by this BytesStartArray. The BytesRefHash uses this reference to track it memory usage
Link copied to clipboard
clears the BytesStartArray and returns the cleared instance.
Link copied to clipboard
Grows the BytesStartArray