TypedVector

open class TypedVector(elementType: FlexBufferType, val buffer: ReadBuffer, val end: Int, val byteWidth: ByteWidth) : Vector

TypedVector represents an array of scalar elements of the same type in the buffer.

Constructors

Link copied to clipboard
constructor(elementType: FlexBufferType, buffer: ReadBuffer, end: Int, byteWidth: ByteWidth)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val end: Int
Link copied to clipboard
abstract val size: Int

Functions

Link copied to clipboard
open operator override fun contains(element: Reference): Boolean
Link copied to clipboard
open override fun containsAll(elements: Collection<Reference>): Boolean
Link copied to clipboard
open operator override fun get(index: Int): Reference

Returns a Reference from the TypedVector at position index. Returns a null reference

Link copied to clipboard
open override fun isEmpty(): Boolean
Link copied to clipboard
open operator override fun iterator(): Iterator<Reference>
Link copied to clipboard

Returns a minified version of this FlexBuffer as a JSON.