Divooka Reference

Input Buffer

48 nodes

On this page 48

Clone

Function

Returns a self-contained immutable copy of this buffer.

Signature
Clone(Input Buffer: Input Buffer) -> Input Buffer
ImmutableReadonlyByteArray Clone(ImmutableReadonlyByteArray Input Buffer)

Parameters

nametypedefaultdescription
Input BufferInput Buffer—

Returns

resultInput Buffer
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Input Buffer
Package
Platform

Equals

Function

Overload 1 of 2

Signature
Equals(Input Buffer: Input Buffer, other: Input Buffer) -> Truth
bool Equals(
    ImmutableReadonlyByteArray Input Buffer,
    ImmutableReadonlyByteArray other)

Determines whether this buffer has the same visible bytes as another buffer.

Parameters

nametypedefaultdescription
Input BufferInput Buffer—
otherInput Buffer—The other buffer.

Returns

resultTruth

Overload 2 of 2

Signature
Equals(Input Buffer: Input Buffer, obj: Any) -> Truth
bool Equals(ImmutableReadonlyByteArray Input Buffer, object obj)

Determines whether this buffer has the same visible bytes as another object.

Parameters

nametypedefaultdescription
Input BufferInput Buffer—
objAny—The other object.

Returns

resultTruth
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Input Buffer
Package
Platform

Bytes

Function

Gets an enumerable over the visible bytes in this immutable byte array.

Signature
Bytes(Input Buffer: Input Buffer) -> IEnumerable<Byte>
IEnumerable<byte> Bytes(ImmutableReadonlyByteArray Input Buffer)

Parameters

nametypedefaultdescription
Input BufferInput Buffer—

Returns

resultIEnumerable<Byte>
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Input Buffer
Package
Platform

Endianness

Function

Gets the byte order used by numeric read operations.

Signature
Endianness(Input Buffer: Input Buffer) -> Byte Array Endianness
ByteArrayEndianness Endianness(ImmutableReadonlyByteArray Input Buffer)

Parameters

nametypedefaultdescription
Input BufferInput Buffer—

Returns

resultByte Array Endianness
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Input Buffer
Package
Platform

Is Empty

Function

Gets a value indicating whether this immutable byte array contains no bytes.

Signature
IsEmpty(Input Buffer: Input Buffer) -> Truth
bool IsEmpty(ImmutableReadonlyByteArray Input Buffer)

Parameters

nametypedefaultdescription
Input BufferInput Buffer—

Returns

resultTruth
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Input Buffer
Package
Platform

Item

Function

Gets the byte at the specified zero-based index.

Signature
Item(Input Buffer: Input Buffer, index: Integer) -> Byte
byte Item(ImmutableReadonlyByteArray Input Buffer, int index)

Parameters

nametypedefaultdescription
Input BufferInput Buffer—
indexInteger—The zero-based byte index relative to this buffer.

Returns

resultByte
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Input Buffer
Package
Platform

Length

Function

Gets the number of bytes visible in this immutable byte array.

Signature
Length(Input Buffer: Input Buffer) -> Integer
int Length(ImmutableReadonlyByteArray Input Buffer)

Parameters

nametypedefaultdescription
Input BufferInput Buffer—

Returns

resultInteger
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Input Buffer
Package
Platform

String Encoding

Function

Gets the encoding used by string read operations.

Signature
StringEncoding(Input Buffer: Input Buffer) -> Encoding
Encoding StringEncoding(ImmutableReadonlyByteArray Input Buffer)

Parameters

nametypedefaultdescription
Input BufferInput Buffer—

Returns

resultEncoding
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Input Buffer
Package
Platform

Get Enumerator

Function

Returns an enumerator over the visible bytes.

Signature
GetEnumerator(Input Buffer: Input Buffer) -> IEnumerator<Byte>
IEnumerator<byte> GetEnumerator(ImmutableReadonlyByteArray Input Buffer)

Parameters

nametypedefaultdescription
Input BufferInput Buffer—

Returns

resultIEnumerator<Byte>
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Input Buffer
Package
Platform

Get Hash Code

Function

Gets a hash code based on the visible bytes.

Signature
GetHashCode(Input Buffer: Input Buffer) -> Integer
int GetHashCode(ImmutableReadonlyByteArray Input Buffer)

Parameters

nametypedefaultdescription
Input BufferInput Buffer—

Returns

resultInteger
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Input Buffer
Package
Platform

Read Bool

Function

Overload 1 of 2

Signature
ReadBool(Input Buffer: Input Buffer) -> (result: Input Buffer, value: Truth)
ImmutableReadonlyByteArray ReadBool(
    ImmutableReadonlyByteArray Input Buffer,
    out bool value)

Reads a Boolean and returns the remaining bytes.

Parameters

nametypedefaultdescription
Input BufferInput Buffer—

Returns

resultInput Buffer
valueTruth

Overload 2 of 2

Signature
ReadBool(Input Buffer: Input Buffer) -> Truth
bool ReadBool(ImmutableReadonlyByteArray Input Buffer)

Reads a Boolean.

Parameters

nametypedefaultdescription
Input BufferInput Buffer—

Returns

resultTruth
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Input Buffer
Package
Platform

Read Bool With Offset

Function

Reads a Boolean at an explicit offset without consuming bytes.

Signature
ReadBoolWithOffset -> Truth
    Input Buffer: Input Buffer
    byteIndex: Integer
bool ReadBoolWithOffset(
    ImmutableReadonlyByteArray Input Buffer,
    int byteIndex)

Parameters

nametypedefaultdescription
Input BufferInput Buffer—
byteIndexInteger—

Returns

resultTruth
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Input Buffer
Package
Platform

Read Byte

Function

Overload 1 of 2

Signature
ReadByte(Input Buffer: Input Buffer) -> (result: Input Buffer, value: Byte)
ImmutableReadonlyByteArray ReadByte(
    ImmutableReadonlyByteArray Input Buffer,
    out byte value)

Reads a byte and returns the remaining bytes.

Parameters

nametypedefaultdescription
Input BufferInput Buffer—

Returns

resultInput Buffer
valueByte

Overload 2 of 2

Signature
ReadByte(Input Buffer: Input Buffer) -> Byte
byte ReadByte(ImmutableReadonlyByteArray Input Buffer)

Reads a byte.

Parameters

nametypedefaultdescription
Input BufferInput Buffer—

Returns

resultByte
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Input Buffer
Package
Platform

Read Bytes

Function

Overload 1 of 3

Signature
ReadBytes -> (result: Input Buffer, value: Input Buffer)
    Input Buffer: Input Buffer
    count: Integer
ImmutableReadonlyByteArray ReadBytes(
    ImmutableReadonlyByteArray Input Buffer,
    int count,
    out ImmutableReadonlyByteArray value)

Reads bytes from the beginning of this buffer and returns the remaining bytes.

Parameters

nametypedefaultdescription
Input BufferInput Buffer—
countInteger—The number of bytes to read.

Returns

resultInput Buffer
valueInput Buffer

Overload 2 of 3

Signature
ReadBytes -> Input Buffer
    Input Buffer: Input Buffer
    count: Integer
ImmutableReadonlyByteArray ReadBytes(
    ImmutableReadonlyByteArray Input Buffer,
    int count)

Reads bytes from the beginning of this buffer.

Parameters

nametypedefaultdescription
Input BufferInput Buffer—
countInteger—The number of bytes to read.

Returns

resultInput Buffer

Overload 3 of 3

Signature
ReadBytes -> (result: Input Buffer, value: Input Buffer)
    Input Buffer: Input Buffer
    count: Integer
    continuation: Action<Input Buffer>
ImmutableReadonlyByteArray ReadBytes(
    ImmutableReadonlyByteArray Input Buffer,
    int count,
    out ImmutableReadonlyByteArray value,
    Action<ImmutableReadonlyByteArray> continuation)

Reads bytes from the beginning of this buffer, invokes a continuation with the read bytes, and returns the remaining bytes.

Parameters

nametypedefaultdescription
Input BufferInput Buffer—
countInteger—The number of bytes to read.
continuationAction<Input Buffer>—The continuation invoked with the read bytes.

Returns

resultInput Buffer
valueInput Buffer
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Input Buffer
Package
Platform

Read Bytes With Offset

Function

Reads bytes at an explicit offset without consuming bytes.

Signature
ReadBytesWithOffset -> Input Buffer
    Input Buffer: Input Buffer
    byteIndex: Integer
    count: Integer
ImmutableReadonlyByteArray ReadBytesWithOffset(
    ImmutableReadonlyByteArray Input Buffer,
    int byteIndex,
    int count)

Parameters

nametypedefaultdescription
Input BufferInput Buffer—
byteIndexInteger—The zero-based start index.
countInteger—The number of bytes to read.

Returns

resultInput Buffer
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Input Buffer
Package
Platform

Read Byte With Offset

Function

Reads a byte at an explicit offset without consuming bytes.

Signature
ReadByteWithOffset -> Byte
    Input Buffer: Input Buffer
    byteIndex: Integer
byte ReadByteWithOffset(
    ImmutableReadonlyByteArray Input Buffer,
    int byteIndex)

Parameters

nametypedefaultdescription
Input BufferInput Buffer—
byteIndexInteger—

Returns

resultByte
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Input Buffer
Package
Platform

Read Double

Function

Overload 1 of 2

Signature
ReadDouble(Input Buffer: Input Buffer) -> (result: Input Buffer, value: Number)
ImmutableReadonlyByteArray ReadDouble(
    ImmutableReadonlyByteArray Input Buffer,
    out double value)

Reads a 64-bit floating-point value and returns the remaining bytes.

Parameters

nametypedefaultdescription
Input BufferInput Buffer—

Returns

resultInput Buffer
valueNumber

Overload 2 of 2

Signature
ReadDouble(Input Buffer: Input Buffer) -> Number
double ReadDouble(ImmutableReadonlyByteArray Input Buffer)

Reads a 64-bit floating-point value.

Parameters

nametypedefaultdescription
Input BufferInput Buffer—

Returns

resultNumber
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Input Buffer
Package
Platform

Read Double With Offset

Function

Reads a 64-bit floating-point value at an explicit offset without consuming bytes.

Signature
ReadDoubleWithOffset -> Number
    Input Buffer: Input Buffer
    byteIndex: Integer
double ReadDoubleWithOffset(
    ImmutableReadonlyByteArray Input Buffer,
    int byteIndex)

Parameters

nametypedefaultdescription
Input BufferInput Buffer—
byteIndexInteger—

Returns

resultNumber
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Input Buffer
Package
Platform

Read Float

Function

Overload 1 of 2

Signature
ReadFloat(Input Buffer: Input Buffer) -> (result: Input Buffer, value: Low Accuracy Number)
ImmutableReadonlyByteArray ReadFloat(
    ImmutableReadonlyByteArray Input Buffer,
    out float value)

Reads a 32-bit floating-point value and returns the remaining bytes.

Parameters

nametypedefaultdescription
Input BufferInput Buffer—

Returns

resultInput Buffer
valueLow Accuracy Number

Overload 2 of 2

Signature
ReadFloat(Input Buffer: Input Buffer) -> Low Accuracy Number
float ReadFloat(ImmutableReadonlyByteArray Input Buffer)

Reads a 32-bit floating-point value.

Parameters

nametypedefaultdescription
Input BufferInput Buffer—

Returns

resultLow Accuracy Number
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Input Buffer
Package
Platform

Read Float With Offset

Function

Reads a 32-bit floating-point value at an explicit offset without consuming bytes.

Signature
ReadFloatWithOffset -> Low Accuracy Number
    Input Buffer: Input Buffer
    byteIndex: Integer
float ReadFloatWithOffset(
    ImmutableReadonlyByteArray Input Buffer,
    int byteIndex)

Parameters

nametypedefaultdescription
Input BufferInput Buffer—
byteIndexInteger—

Returns

resultLow Accuracy Number
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Input Buffer
Package
Platform

Read Guid

Function

Overload 1 of 2

Signature
ReadGuid(Input Buffer: Input Buffer) -> (result: Input Buffer, value: Guid)
ImmutableReadonlyByteArray ReadGuid(
    ImmutableReadonlyByteArray Input Buffer,
    out Guid value)

Reads a GUID and returns the remaining bytes.

Parameters

nametypedefaultdescription
Input BufferInput Buffer—

Returns

resultInput Buffer
valueGuid

Overload 2 of 2

Signature
ReadGuid(Input Buffer: Input Buffer) -> Guid
Guid ReadGuid(ImmutableReadonlyByteArray Input Buffer)

Reads a GUID.

Parameters

nametypedefaultdescription
Input BufferInput Buffer—

Returns

resultGuid
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Input Buffer
Package
Platform

Read Guid With Offset

Function

Reads a GUID at an explicit offset without consuming bytes.

Signature
ReadGuidWithOffset -> Guid
    Input Buffer: Input Buffer
    byteIndex: Integer
Guid ReadGuidWithOffset(
    ImmutableReadonlyByteArray Input Buffer,
    int byteIndex)

Parameters

nametypedefaultdescription
Input BufferInput Buffer—
byteIndexInteger—

Returns

resultGuid
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Input Buffer
Package
Platform

Read Int

Function

Overload 1 of 2

Signature
ReadInt(Input Buffer: Input Buffer) -> (result: Input Buffer, value: Integer)
ImmutableReadonlyByteArray ReadInt(
    ImmutableReadonlyByteArray Input Buffer,
    out int value)

Reads a 32-bit signed integer and returns the remaining bytes.

Parameters

nametypedefaultdescription
Input BufferInput Buffer—

Returns

resultInput Buffer
valueInteger

Overload 2 of 2

Signature
ReadInt(Input Buffer: Input Buffer) -> Integer
int ReadInt(ImmutableReadonlyByteArray Input Buffer)

Reads a 32-bit signed integer.

Parameters

nametypedefaultdescription
Input BufferInput Buffer—

Returns

resultInteger
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Input Buffer
Package
Platform

Read Int With Offset

Function

Reads a 32-bit signed integer at an explicit offset without consuming bytes.

Signature
ReadIntWithOffset -> Integer
    Input Buffer: Input Buffer
    byteIndex: Integer
int ReadIntWithOffset(
    ImmutableReadonlyByteArray Input Buffer,
    int byteIndex)

Parameters

nametypedefaultdescription
Input BufferInput Buffer—
byteIndexInteger—

Returns

resultInteger
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Input Buffer
Package
Platform

Read Long

Function

Overload 1 of 2

Signature
ReadLong(Input Buffer: Input Buffer) -> (result: Input Buffer, value: Large Integer)
ImmutableReadonlyByteArray ReadLong(
    ImmutableReadonlyByteArray Input Buffer,
    out long value)

Reads a 64-bit signed integer and returns the remaining bytes.

Parameters

nametypedefaultdescription
Input BufferInput Buffer—

Returns

resultInput Buffer
valueLarge Integer

Overload 2 of 2

Signature
ReadLong(Input Buffer: Input Buffer) -> Large Integer
long ReadLong(ImmutableReadonlyByteArray Input Buffer)

Reads a 64-bit signed integer.

Parameters

nametypedefaultdescription
Input BufferInput Buffer—

Returns

resultLarge Integer
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Input Buffer
Package
Platform

Read Long With Offset

Function

Reads a 64-bit signed integer at an explicit offset without consuming bytes.

Signature
ReadLongWithOffset -> Large Integer
    Input Buffer: Input Buffer
    byteIndex: Integer
long ReadLongWithOffset(
    ImmutableReadonlyByteArray Input Buffer,
    int byteIndex)

Parameters

nametypedefaultdescription
Input BufferInput Buffer—
byteIndexInteger—

Returns

resultLarge Integer
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Input Buffer
Package
Platform

Read S Byte

Function

Overload 1 of 2

Signature
ReadSByte(Input Buffer: Input Buffer) -> (result: Input Buffer, value: SByte)
ImmutableReadonlyByteArray ReadSByte(
    ImmutableReadonlyByteArray Input Buffer,
    out sbyte value)

Reads a signed byte and returns the remaining bytes.

Parameters

nametypedefaultdescription
Input BufferInput Buffer—

Returns

resultInput Buffer
valueSByte

Overload 2 of 2

Signature
ReadSByte(Input Buffer: Input Buffer) -> SByte
sbyte ReadSByte(ImmutableReadonlyByteArray Input Buffer)

Reads a signed byte.

Parameters

nametypedefaultdescription
Input BufferInput Buffer—

Returns

resultSByte
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Input Buffer
Package
Platform

Read S Byte With Offset

Function

Reads a signed byte at an explicit offset without consuming bytes.

Signature
ReadSByteWithOffset -> SByte
    Input Buffer: Input Buffer
    byteIndex: Integer
sbyte ReadSByteWithOffset(
    ImmutableReadonlyByteArray Input Buffer,
    int byteIndex)

Parameters

nametypedefaultdescription
Input BufferInput Buffer—
byteIndexInteger—

Returns

resultSByte
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Input Buffer
Package
Platform

Read Short

Function

Overload 1 of 2

Signature
ReadShort(Input Buffer: Input Buffer) -> (result: Input Buffer, value: Small Integer)
ImmutableReadonlyByteArray ReadShort(
    ImmutableReadonlyByteArray Input Buffer,
    out short value)

Reads a 16-bit signed integer and returns the remaining bytes.

Parameters

nametypedefaultdescription
Input BufferInput Buffer—

Returns

resultInput Buffer
valueSmall Integer

Overload 2 of 2

Signature
ReadShort(Input Buffer: Input Buffer) -> Small Integer
short ReadShort(ImmutableReadonlyByteArray Input Buffer)

Reads a 16-bit signed integer.

Parameters

nametypedefaultdescription
Input BufferInput Buffer—

Returns

resultSmall Integer
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Input Buffer
Package
Platform

Read Short With Offset

Function

Reads a 16-bit signed integer at an explicit offset without consuming bytes.

Signature
ReadShortWithOffset -> Small Integer
    Input Buffer: Input Buffer
    byteIndex: Integer
short ReadShortWithOffset(
    ImmutableReadonlyByteArray Input Buffer,
    int byteIndex)

Parameters

nametypedefaultdescription
Input BufferInput Buffer—
byteIndexInteger—

Returns

resultSmall Integer
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Input Buffer
Package
Platform

Read String

Function

Overload 1 of 4

Signature
ReadString -> (result: Input Buffer, value: Text)
    Input Buffer: Input Buffer
    size: Integer
ImmutableReadonlyByteArray ReadString(
    ImmutableReadonlyByteArray Input Buffer,
    int size,
    out string value)

Reads a fixed-size string from the beginning of this buffer and returns the remaining bytes.

Parameters

nametypedefaultdescription
Input BufferInput Buffer—
sizeInteger—The number of bytes to read.

Returns

resultInput Buffer
valueText

Overload 2 of 4

Signature
ReadString(Input Buffer: Input Buffer, size: Integer) -> Text
string ReadString(
    ImmutableReadonlyByteArray Input Buffer,
    int size)

Reads a fixed-size string from the beginning of this buffer.

Parameters

nametypedefaultdescription
Input BufferInput Buffer—
sizeInteger—The number of bytes to read.

Returns

resultText

Overload 3 of 4

Signature
ReadString(Input Buffer: Input Buffer) -> (result: Input Buffer, value: Text)
ImmutableReadonlyByteArray ReadString(
    ImmutableReadonlyByteArray Input Buffer,
    out string value)

Reads a zero-terminated string from the beginning of this buffer and returns the remaining bytes after the terminator.

Parameters

nametypedefaultdescription
Input BufferInput Buffer—

Returns

resultInput Buffer
valueText

Overload 4 of 4

Signature
ReadString(Input Buffer: Input Buffer) -> Text
string ReadString(ImmutableReadonlyByteArray Input Buffer)

Reads a zero-terminated string from the beginning of this buffer.

Parameters

nametypedefaultdescription
Input BufferInput Buffer—

Returns

resultText
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Input Buffer
Package
Platform

Read String With Offset

Function

Overload 1 of 2

Signature
ReadStringWithOffset -> Text
    Input Buffer: Input Buffer
    byteIndex: Integer
    size: Integer
string ReadStringWithOffset(
    ImmutableReadonlyByteArray Input Buffer,
    int byteIndex,
    int size)

Reads a fixed-size string at an explicit offset without consuming bytes.

Parameters

nametypedefaultdescription
Input BufferInput Buffer—
byteIndexInteger—The zero-based start index.
sizeInteger—The number of bytes to read.

Returns

resultText

Overload 2 of 2

Signature
ReadStringWithOffset -> Text
    Input Buffer: Input Buffer
    byteIndex: Integer
string ReadStringWithOffset(
    ImmutableReadonlyByteArray Input Buffer,
    int byteIndex)

Reads a zero-terminated string at an explicit offset without consuming bytes.

Parameters

nametypedefaultdescription
Input BufferInput Buffer—
byteIndexInteger—The zero-based start index.

Returns

resultText
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Input Buffer
Package
Platform

Read U Int

Function

Overload 1 of 2

Signature
ReadUInt(Input Buffer: Input Buffer) -> (result: Input Buffer, value: Positive Integer)
ImmutableReadonlyByteArray ReadUInt(
    ImmutableReadonlyByteArray Input Buffer,
    out uint value)

Reads a 32-bit unsigned integer and returns the remaining bytes.

Parameters

nametypedefaultdescription
Input BufferInput Buffer—

Returns

resultInput Buffer
valuePositive Integer

Overload 2 of 2

Signature
ReadUInt(Input Buffer: Input Buffer) -> Positive Integer
uint ReadUInt(ImmutableReadonlyByteArray Input Buffer)

Reads a 32-bit unsigned integer.

Parameters

nametypedefaultdescription
Input BufferInput Buffer—

Returns

resultPositive Integer
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Input Buffer
Package
Platform

Read U Int With Offset

Function

Reads a 32-bit unsigned integer at an explicit offset without consuming bytes.

Signature
ReadUIntWithOffset -> Positive Integer
    Input Buffer: Input Buffer
    byteIndex: Integer
uint ReadUIntWithOffset(
    ImmutableReadonlyByteArray Input Buffer,
    int byteIndex)

Parameters

nametypedefaultdescription
Input BufferInput Buffer—
byteIndexInteger—

Returns

resultPositive Integer
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Input Buffer
Package
Platform

Read U Long

Function

Overload 1 of 2

Signature
ReadULong(Input Buffer: Input Buffer) -> (result: Input Buffer, value: Large Positive Integer)
ImmutableReadonlyByteArray ReadULong(
    ImmutableReadonlyByteArray Input Buffer,
    out ulong value)

Reads a 64-bit unsigned integer and returns the remaining bytes.

Parameters

nametypedefaultdescription
Input BufferInput Buffer—

Returns

resultInput Buffer
valueLarge Positive Integer

Overload 2 of 2

Signature
ReadULong(Input Buffer: Input Buffer) -> Large Positive Integer
ulong ReadULong(ImmutableReadonlyByteArray Input Buffer)

Reads a 64-bit unsigned integer.

Parameters

nametypedefaultdescription
Input BufferInput Buffer—

Returns

resultLarge Positive Integer
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Input Buffer
Package
Platform

Read U Long With Offset

Function

Reads a 64-bit unsigned integer at an explicit offset without consuming bytes.

Signature
ReadULongWithOffset -> Large Positive Integer
    Input Buffer: Input Buffer
    byteIndex: Integer
ulong ReadULongWithOffset(
    ImmutableReadonlyByteArray Input Buffer,
    int byteIndex)

Parameters

nametypedefaultdescription
Input BufferInput Buffer—
byteIndexInteger—

Returns

resultLarge Positive Integer
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Input Buffer
Package
Platform

Read U Short

Function

Overload 1 of 2

Signature
ReadUShort(Input Buffer: Input Buffer) -> (result: Input Buffer, value: Small Positive Integer)
ImmutableReadonlyByteArray ReadUShort(
    ImmutableReadonlyByteArray Input Buffer,
    out ushort value)

Reads a 16-bit unsigned integer and returns the remaining bytes.

Parameters

nametypedefaultdescription
Input BufferInput Buffer—

Returns

resultInput Buffer
valueSmall Positive Integer

Overload 2 of 2

Signature
ReadUShort(Input Buffer: Input Buffer) -> Small Positive Integer
ushort ReadUShort(ImmutableReadonlyByteArray Input Buffer)

Reads a 16-bit unsigned integer.

Parameters

nametypedefaultdescription
Input BufferInput Buffer—

Returns

resultSmall Positive Integer
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Input Buffer
Package
Platform

Read U Short With Offset

Function

Reads a 16-bit unsigned integer at an explicit offset without consuming bytes.

Signature
ReadUShortWithOffset -> Small Positive Integer
    Input Buffer: Input Buffer
    byteIndex: Integer
ushort ReadUShortWithOffset(
    ImmutableReadonlyByteArray Input Buffer,
    int byteIndex)

Parameters

nametypedefaultdescription
Input BufferInput Buffer—
byteIndexInteger—

Returns

resultSmall Positive Integer
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Input Buffer
Package
Platform

Skip

Function

Skips a number of bytes and returns the remaining bytes.

Signature
Skip(Input Buffer: Input Buffer, count: Integer) -> Input Buffer
ImmutableReadonlyByteArray Skip(
    ImmutableReadonlyByteArray Input Buffer,
    int count)

Parameters

nametypedefaultdescription
Input BufferInput Buffer—
countInteger—The number of bytes to skip.

Returns

resultInput Buffer
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Input Buffer
Package
Platform

Slice

Function

Returns a slice of this immutable byte array.

Overload 1 of 2

Signature
Slice -> Input Buffer
    Input Buffer: Input Buffer
    byteIndex: Integer
ImmutableReadonlyByteArray Slice(
    ImmutableReadonlyByteArray Input Buffer,
    int byteIndex)

Parameters

nametypedefaultdescription
Input BufferInput Buffer—
byteIndexInteger—The zero-based start index.

Returns

resultInput Buffer

Overload 2 of 2

Signature
Slice -> Input Buffer
    Input Buffer: Input Buffer
    byteIndex: Integer
    count: Integer
ImmutableReadonlyByteArray Slice(
    ImmutableReadonlyByteArray Input Buffer,
    int byteIndex,
    int count)

Parameters

nametypedefaultdescription
Input BufferInput Buffer—
byteIndexInteger—The zero-based start index.
countInteger—The number of bytes.

Returns

resultInput Buffer
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Input Buffer
Package
Platform

To Array

Function

Returns a copy of the visible bytes.

Signature
ToArray(Input Buffer: Input Buffer) -> Byte Array
byte[] ToArray(ImmutableReadonlyByteArray Input Buffer)

Parameters

nametypedefaultdescription
Input BufferInput Buffer—

Returns

resultByte Array
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Input Buffer
Package
Platform

To String

Function

Returns a hexadecimal preview of this buffer.

Signature
ToString(Input Buffer: Input Buffer) -> Text
string ToString(ImmutableReadonlyByteArray Input Buffer)

Parameters

nametypedefaultdescription
Input BufferInput Buffer—

Returns

resultText
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Input Buffer
Package
Platform

With Endianness

Function

Returns a new immutable byte array with the same bytes but a different numeric byte order.

Signature
WithEndianness -> Input Buffer
    Input Buffer: Input Buffer
    endianness: Byte Array Endianness
ImmutableReadonlyByteArray WithEndianness(
    ImmutableReadonlyByteArray Input Buffer,
    ByteArrayEndianness endianness)

Parameters

nametypedefaultdescription
Input BufferInput Buffer—
endiannessByte Array Endianness—The byte order to use.

Returns

resultInput Buffer
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Input Buffer
Package
Platform

With String Encoding

Function

Returns a new immutable byte array with the same bytes but a different string encoding.

Signature
WithStringEncoding -> Input Buffer
    Input Buffer: Input Buffer
    encoding: Encoding
ImmutableReadonlyByteArray WithStringEncoding(
    ImmutableReadonlyByteArray Input Buffer,
    Encoding encoding)

Parameters

nametypedefaultdescription
Input BufferInput Buffer—
encodingEncoding—The string encoding to use.

Returns

resultInput Buffer
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Input Buffer
Package
Platform

From Array

Function

Creates an immutable byte array from a byte array by copying its contents.

Overload 1 of 2

Signature
FromArray(bytes: Byte Array) -> Input Buffer
ImmutableReadonlyByteArray FromArray(byte[] bytes)

Parameters

nametypedefaultdescription
bytesByte Array—The source bytes.

Returns

resultInput Buffer

Overload 2 of 2

Signature
FromArray -> Input Buffer
    bytes: Byte Array
    endianness: Byte Array Endianness
    stringEncoding: Encoding
ImmutableReadonlyByteArray FromArray(
    byte[] bytes,
    ByteArrayEndianness endianness,
    Encoding stringEncoding)

Parameters

nametypedefaultdescription
bytesByte Array—The source bytes.
endiannessByte Array Endianness—The byte order used by numeric read operations.
stringEncodingEncoding—The encoding used by string read operations.

Returns

resultInput Buffer
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Input Buffer
Package
Platform

From File

Function

Reads all bytes from a file into a new immutable byte array.

Overload 1 of 2

Signature
FromFile(path: Text) -> Input Buffer
ImmutableReadonlyByteArray FromFile(string path)

Parameters

nametypedefaultdescription
pathText—The file path.

Returns

resultInput Buffer

Overload 2 of 2

Signature
FromFile -> Input Buffer
    path: Text
    endianness: Byte Array Endianness
    stringEncoding: Encoding
ImmutableReadonlyByteArray FromFile(
    string path,
    ByteArrayEndianness endianness,
    Encoding stringEncoding)

Parameters

nametypedefaultdescription
pathText—The file path.
endiannessByte Array Endianness—The byte order used by numeric read operations.
stringEncodingEncoding—The encoding used by string read operations.

Returns

resultInput Buffer
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Input Buffer
Package
Platform

From Stream

Function

Reads all bytes from a stream into a new immutable byte array.

Overload 1 of 2

Signature
FromStream(stream: Stream) -> Input Buffer
ImmutableReadonlyByteArray FromStream(Stream stream)

Parameters

nametypedefaultdescription
streamStream—The source stream.

Returns

resultInput Buffer

Overload 2 of 2

Signature
FromStream -> Input Buffer
    stream: Stream
    endianness: Byte Array Endianness
    stringEncoding: Encoding
ImmutableReadonlyByteArray FromStream(
    Stream stream,
    ByteArrayEndianness endianness,
    Encoding stringEncoding)

Parameters

nametypedefaultdescription
streamStream—The source stream.
endiannessByte Array Endianness—The byte order used by numeric read operations.
stringEncodingEncoding—The encoding used by string read operations.

Returns

resultInput Buffer
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Input Buffer
Package
Platform

Empty

Function

Gets an empty immutable byte array.

Signature
Empty() -> Input Buffer
ImmutableReadonlyByteArray Empty()

Returns

resultInput Buffer
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Input Buffer
Package
Platform