Table of Contents

Struct BinaryView

Namespace
Apache.Arrow.Scalars
Assembly
Apache.Arrow.dll
public struct BinaryView : IEquatable<BinaryView>
Implements
Inherited Members

Constructors

BinaryView(int, ReadOnlySpan<byte>, int, int)

public BinaryView(int length, ReadOnlySpan<byte> prefix, int bufferIndex, int bufferOffset)

Parameters

length int
prefix ReadOnlySpan<byte>
bufferIndex int
bufferOffset int

BinaryView(ReadOnlySpan<byte>)

public BinaryView(ReadOnlySpan<byte> inline)

Parameters

inline ReadOnlySpan<byte>

Fields

Length

public readonly int Length

Field Value

int

MaxInlineLength

public const int MaxInlineLength = 12

Field Value

int

PrefixLength

public const int PrefixLength = 4

Field Value

int

Properties

BufferIndex

public int BufferIndex { get; }

Property Value

int

BufferOffset

public int BufferOffset { get; }

Property Value

int

Bytes

public ReadOnlySpan<byte> Bytes { get; }

Property Value

ReadOnlySpan<byte>

IsInline

public bool IsInline { get; }

Property Value

bool

Methods

Equals(BinaryView)

public bool Equals(BinaryView other)

Parameters

other BinaryView

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int