Class FixedSizeBinaryArray
public class FixedSizeBinaryArray : Array, IArrowArray, IDisposable, IReadOnlyList<byte[]>, IReadOnlyCollection<byte[]>, IEnumerable<byte[]>, IEnumerable
- Inheritance
-
FixedSizeBinaryArray
- Implements
-
IEnumerable<byte[]>
- Derived
- Inherited Members
Constructors
FixedSizeBinaryArray(ArrayData)
public FixedSizeBinaryArray(ArrayData data)
Parameters
data
ArrayData
FixedSizeBinaryArray(ArrowTypeId, ArrayData)
public FixedSizeBinaryArray(ArrowTypeId typeId, ArrayData data)
Parameters
typeId
ArrowTypeIddata
ArrayData
Properties
ValueBuffer
public ArrowBuffer ValueBuffer { get; }
Property Value
Methods
Accept(IArrowArrayVisitor)
public override void Accept(IArrowArrayVisitor visitor)
Parameters
visitor
IArrowArrayVisitor
GetBytes(int)
Get the collection of bytes, as a read-only span, at a given index in the array.
public ReadOnlySpan<byte> GetBytes(int index)
Parameters
index
intIndex at which to get bytes.
Returns
- ReadOnlySpan<byte>
Returns a ReadOnlySpan<T> object.
Remarks
Note that this method cannot reliably identify null values, which are indistinguishable from empty byte collection values when seen in the context of this method's return type of ReadOnlySpan<T>. Use the IsNull(int) method instead to reliably determine null values.
Exceptions
- ArgumentOutOfRangeException
If the index is negative or beyond the length of the array.