Divooka Reference

Mutable Constructive Byte Array

25 nodes

On this page 25

Make Mutable Constructive Byte Array

Function

Creates a new mutable constructive byte array.

Overload 1 of 2

Signature
MutableConstructiveByteArray() -> Mutable Constructive Byte Array
MutableConstructiveByteArray MutableConstructiveByteArray()

Returns

resultMutable Constructive Byte Array

Overload 2 of 2

Signature
MutableConstructiveByteArray -> Mutable Constructive Byte Array
    endianness: Byte Array Endianness
    stringEncoding: Encoding
MutableConstructiveByteArray MutableConstructiveByteArray(
    ByteArrayEndianness endianness,
    Encoding stringEncoding)

Parameters

nametypedefaultdescription
endiannessByte Array Endianness—
stringEncodingEncoding—

Returns

resultMutable Constructive Byte Array
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Events Routine StateMachineState
Declared by
Mutable Constructive Byte Array
Package
Platform

Clear

Function

Clears the current bytes.

Signature
Clear(Mutable Constructive Byte Array: Mutable Constructive Byte Array) -> Mutable Constructive Byte Array
MutableConstructiveByteArray Clear(MutableConstructiveByteArray Mutable Constructive Byte Array)

Parameters

nametypedefaultdescription
Mutable Constructive Byte ArrayMutable Constructive Byte Array—

Returns

resultMutable Constructive Byte Array
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Events Routine StateMachineState
Declared by
Mutable Constructive Byte Array
Package
Platform

Dispose

Function

Disposes this mutable buffer.

Signature
Dispose(Mutable Constructive Byte Array: Mutable Constructive Byte Array)
void Dispose(MutableConstructiveByteArray Mutable Constructive Byte Array)

Parameters

nametypedefaultdescription
Mutable Constructive Byte ArrayMutable Constructive Byte Array—
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Events Routine StateMachineState
Declared by
Mutable Constructive Byte Array
Package
Platform

Endianness

Function

Gets the byte order used by numeric write operations.

Signature
Endianness(Mutable Constructive Byte Array: Mutable Constructive Byte Array) -> Byte Array Endianness
ByteArrayEndianness Endianness(MutableConstructiveByteArray Mutable Constructive Byte Array)

Parameters

nametypedefaultdescription
Mutable Constructive Byte ArrayMutable Constructive Byte Array—

Returns

resultByte Array Endianness
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Events Routine StateMachineState
Declared by
Mutable Constructive Byte Array
Package
Platform

Is Empty

Function

Gets whether this buffer contains no bytes.

Signature
IsEmpty(Mutable Constructive Byte Array: Mutable Constructive Byte Array) -> Truth
bool IsEmpty(MutableConstructiveByteArray Mutable Constructive Byte Array)

Parameters

nametypedefaultdescription
Mutable Constructive Byte ArrayMutable Constructive Byte Array—

Returns

resultTruth
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Events Routine StateMachineState
Declared by
Mutable Constructive Byte Array
Package
Platform

Length

Function

Gets the number of bytes currently written.

Signature
Length(Mutable Constructive Byte Array: Mutable Constructive Byte Array) -> Integer
int Length(MutableConstructiveByteArray Mutable Constructive Byte Array)

Parameters

nametypedefaultdescription
Mutable Constructive Byte ArrayMutable Constructive Byte Array—

Returns

resultInteger
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Events Routine StateMachineState
Declared by
Mutable Constructive Byte Array
Package
Platform

String Encoding

Function

Gets the encoding used by string write operations.

Signature
StringEncoding(Mutable Constructive Byte Array: Mutable Constructive Byte Array) -> Encoding
Encoding StringEncoding(MutableConstructiveByteArray Mutable Constructive Byte Array)

Parameters

nametypedefaultdescription
Mutable Constructive Byte ArrayMutable Constructive Byte Array—

Returns

resultEncoding
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Events Routine StateMachineState
Declared by
Mutable Constructive Byte Array
Package
Platform

Save

Function

Saves the current bytes to a file.

Signature
Save -> Mutable Constructive Byte Array
    Mutable Constructive Byte Array: Mutable Constructive Byte Array
    path: Text
MutableConstructiveByteArray Save(
    MutableConstructiveByteArray Mutable Constructive Byte Array,
    string path)

Parameters

nametypedefaultdescription
Mutable Constructive Byte ArrayMutable Constructive Byte Array—
pathText—

Returns

resultMutable Constructive Byte Array
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Events Routine StateMachineState
Declared by
Mutable Constructive Byte Array
Package
Platform

To Array

Function

Returns a copy of the current bytes.

Signature
ToArray(Mutable Constructive Byte Array: Mutable Constructive Byte Array) -> Byte Array
byte[] ToArray(MutableConstructiveByteArray Mutable Constructive Byte Array)

Parameters

nametypedefaultdescription
Mutable Constructive Byte ArrayMutable Constructive Byte Array—

Returns

resultByte Array
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Events Routine StateMachineState
Declared by
Mutable Constructive Byte Array
Package
Platform

To Immutable Constructive Byte Array

Function

Converts this mutable buffer to an immutable constructive byte array.

Signature
ToImmutableConstructiveByteArray(Mutable Constructive Byte Array: Mutable Constructive Byte Array) -> Output Buffer
ImmutableConstructiveByteArray ToImmutableConstructiveByteArray(MutableConstructiveByteArray Mutable Constructive Byte Array)

Parameters

nametypedefaultdescription
Mutable Constructive Byte ArrayMutable Constructive Byte Array—

Returns

resultOutput Buffer
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Events Routine StateMachineState
Declared by
Mutable Constructive Byte Array
Package
Platform

Write Bool

Function

Writes a Boolean as one byte.

Signature
WriteBool -> Mutable Constructive Byte Array
    Mutable Constructive Byte Array: Mutable Constructive Byte Array
    value: Truth
MutableConstructiveByteArray WriteBool(
    MutableConstructiveByteArray Mutable Constructive Byte Array,
    bool value)

Parameters

nametypedefaultdescription
Mutable Constructive Byte ArrayMutable Constructive Byte Array—
valueTruth—

Returns

resultMutable Constructive Byte Array
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Events Routine StateMachineState
Declared by
Mutable Constructive Byte Array
Package
Platform

Write Byte

Function

Writes a byte.

Signature
WriteByte -> Mutable Constructive Byte Array
    Mutable Constructive Byte Array: Mutable Constructive Byte Array
    value: Byte
MutableConstructiveByteArray WriteByte(
    MutableConstructiveByteArray Mutable Constructive Byte Array,
    byte value)

Parameters

nametypedefaultdescription
Mutable Constructive Byte ArrayMutable Constructive Byte Array—
valueByte—

Returns

resultMutable Constructive Byte Array
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Events Routine StateMachineState
Declared by
Mutable Constructive Byte Array
Package
Platform

Write Bytes

Function

Overload 1 of 5

Signature
WriteBytes -> Mutable Constructive Byte Array
    Mutable Constructive Byte Array: Mutable Constructive Byte Array
    count: Integer
MutableConstructiveByteArray WriteBytes(
    MutableConstructiveByteArray Mutable Constructive Byte Array,
    int count)

Writes empty zero padding.

Parameters

nametypedefaultdescription
Mutable Constructive Byte ArrayMutable Constructive Byte Array—
countInteger—

Returns

resultMutable Constructive Byte Array

Overload 2 of 5

Signature
WriteBytes -> Mutable Constructive Byte Array
    Mutable Constructive Byte Array: Mutable Constructive Byte Array
    count: Integer
    subblock: Action<Mutable Constructive Byte Array>
MutableConstructiveByteArray WriteBytes(
    MutableConstructiveByteArray Mutable Constructive Byte Array,
    int count,
    Action<MutableConstructiveByteArray> subblock)

Writes a fixed-size subblock. The continuation writes into the subblock, which is then padded with zeroes up to Count.

Parameters

nametypedefaultdescription
Mutable Constructive Byte ArrayMutable Constructive Byte Array—
countInteger—
subblockAction<Mutable Constructive Byte Array>—

Returns

resultMutable Constructive Byte Array

Overload 3 of 5

Signature
WriteBytes -> Mutable Constructive Byte Array
    Mutable Constructive Byte Array: Mutable Constructive Byte Array
    source: Mutable Constructive Byte Array
MutableConstructiveByteArray WriteBytes(
    MutableConstructiveByteArray Mutable Constructive Byte Array,
    MutableConstructiveByteArray source)

Appends another mutable constructive byte array.

Parameters

nametypedefaultdescription
Mutable Constructive Byte ArrayMutable Constructive Byte Array—
sourceMutable Constructive Byte Array—

Returns

resultMutable Constructive Byte Array

Overload 4 of 5

Signature
WriteBytes -> Mutable Constructive Byte Array
    Mutable Constructive Byte Array: Mutable Constructive Byte Array
    source: Output Buffer
MutableConstructiveByteArray WriteBytes(
    MutableConstructiveByteArray Mutable Constructive Byte Array,
    ImmutableConstructiveByteArray source)

Appends an immutable constructive byte array.

Parameters

nametypedefaultdescription
Mutable Constructive Byte ArrayMutable Constructive Byte Array—
sourceOutput Buffer—

Returns

resultMutable Constructive Byte Array

Overload 5 of 5

Signature
WriteBytes -> Mutable Constructive Byte Array
    Mutable Constructive Byte Array: Mutable Constructive Byte Array
    source: Byte Array
MutableConstructiveByteArray WriteBytes(
    MutableConstructiveByteArray Mutable Constructive Byte Array,
    byte[] source)

Appends raw bytes.

Parameters

nametypedefaultdescription
Mutable Constructive Byte ArrayMutable Constructive Byte Array—
sourceByte Array—

Returns

resultMutable Constructive Byte Array
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Events Routine StateMachineState
Declared by
Mutable Constructive Byte Array
Package
Platform

Write Double

Function

Writes a 64-bit floating-point value.

Signature
WriteDouble -> Mutable Constructive Byte Array
    Mutable Constructive Byte Array: Mutable Constructive Byte Array
    value: Number
MutableConstructiveByteArray WriteDouble(
    MutableConstructiveByteArray Mutable Constructive Byte Array,
    double value)

Parameters

nametypedefaultdescription
Mutable Constructive Byte ArrayMutable Constructive Byte Array—
valueNumber—

Returns

resultMutable Constructive Byte Array
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Events Routine StateMachineState
Declared by
Mutable Constructive Byte Array
Package
Platform

Write Float

Function

Writes a 32-bit floating-point value.

Signature
WriteFloat -> Mutable Constructive Byte Array
    Mutable Constructive Byte Array: Mutable Constructive Byte Array
    value: Low Accuracy Number
MutableConstructiveByteArray WriteFloat(
    MutableConstructiveByteArray Mutable Constructive Byte Array,
    float value)

Parameters

nametypedefaultdescription
Mutable Constructive Byte ArrayMutable Constructive Byte Array—
valueLow Accuracy Number—

Returns

resultMutable Constructive Byte Array
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Events Routine StateMachineState
Declared by
Mutable Constructive Byte Array
Package
Platform

Write Guid

Function

Writes a GUID using the runtime byte representation of Guid.ToByteArray.

Signature
WriteGuid -> Mutable Constructive Byte Array
    Mutable Constructive Byte Array: Mutable Constructive Byte Array
    value: Guid
MutableConstructiveByteArray WriteGuid(
    MutableConstructiveByteArray Mutable Constructive Byte Array,
    Guid value)

Parameters

nametypedefaultdescription
Mutable Constructive Byte ArrayMutable Constructive Byte Array—
valueGuid—

Returns

resultMutable Constructive Byte Array
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Events Routine StateMachineState
Declared by
Mutable Constructive Byte Array
Package
Platform

Write Int

Function

Writes a 32-bit signed integer.

Signature
WriteInt -> Mutable Constructive Byte Array
    Mutable Constructive Byte Array: Mutable Constructive Byte Array
    value: Integer
MutableConstructiveByteArray WriteInt(
    MutableConstructiveByteArray Mutable Constructive Byte Array,
    int value)

Parameters

nametypedefaultdescription
Mutable Constructive Byte ArrayMutable Constructive Byte Array—
valueInteger—

Returns

resultMutable Constructive Byte Array
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Events Routine StateMachineState
Declared by
Mutable Constructive Byte Array
Package
Platform

Write Long

Function

Writes a 64-bit signed integer.

Signature
WriteLong -> Mutable Constructive Byte Array
    Mutable Constructive Byte Array: Mutable Constructive Byte Array
    value: Large Integer
MutableConstructiveByteArray WriteLong(
    MutableConstructiveByteArray Mutable Constructive Byte Array,
    long value)

Parameters

nametypedefaultdescription
Mutable Constructive Byte ArrayMutable Constructive Byte Array—
valueLarge Integer—

Returns

resultMutable Constructive Byte Array
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Events Routine StateMachineState
Declared by
Mutable Constructive Byte Array
Package
Platform

Write Signed Byte

Function

Writes a signed byte.

Signature
WriteSByte -> Mutable Constructive Byte Array
    Mutable Constructive Byte Array: Mutable Constructive Byte Array
    value: SByte
MutableConstructiveByteArray WriteSByte(
    MutableConstructiveByteArray Mutable Constructive Byte Array,
    sbyte value)

Parameters

nametypedefaultdescription
Mutable Constructive Byte ArrayMutable Constructive Byte Array—
valueSByte—

Returns

resultMutable Constructive Byte Array
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Events Routine StateMachineState
Declared by
Mutable Constructive Byte Array
Package
Platform

Write Short

Function

Writes a 16-bit signed integer.

Signature
WriteShort -> Mutable Constructive Byte Array
    Mutable Constructive Byte Array: Mutable Constructive Byte Array
    value: Small Integer
MutableConstructiveByteArray WriteShort(
    MutableConstructiveByteArray Mutable Constructive Byte Array,
    short value)

Parameters

nametypedefaultdescription
Mutable Constructive Byte ArrayMutable Constructive Byte Array—
valueSmall Integer—

Returns

resultMutable Constructive Byte Array
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Events Routine StateMachineState
Declared by
Mutable Constructive Byte Array
Package
Platform

Write String Fixed Size

Function

Overload 1 of 2

Signature
WriteStringFixedSize -> Mutable Constructive Byte Array
    Mutable Constructive Byte Array: Mutable Constructive Byte Array
    value: Text
MutableConstructiveByteArray WriteStringFixedSize(
    MutableConstructiveByteArray Mutable Constructive Byte Array,
    string value)

Writes a fixed-size string using exactly the encoded byte count of Value.

Parameters

nametypedefaultdescription
Mutable Constructive Byte ArrayMutable Constructive Byte Array—
valueText—

Returns

resultMutable Constructive Byte Array

Overload 2 of 2

Signature
WriteStringFixedSize -> Mutable Constructive Byte Array
    Mutable Constructive Byte Array: Mutable Constructive Byte Array
    value: Text
    size: Integer
MutableConstructiveByteArray WriteStringFixedSize(
    MutableConstructiveByteArray Mutable Constructive Byte Array,
    string value,
    int size)

Writes a fixed-size string padded with zeroes to Size bytes.

Parameters

nametypedefaultdescription
Mutable Constructive Byte ArrayMutable Constructive Byte Array—
valueText—
sizeInteger—

Returns

resultMutable Constructive Byte Array
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Events Routine StateMachineState
Declared by
Mutable Constructive Byte Array
Package
Platform

Write String Zero Terminated

Function

Writes a zero-terminated string.

Signature
WriteStringZeroTerminated -> Mutable Constructive Byte Array
    Mutable Constructive Byte Array: Mutable Constructive Byte Array
    value: Text
MutableConstructiveByteArray WriteStringZeroTerminated(
    MutableConstructiveByteArray Mutable Constructive Byte Array,
    string value)

Parameters

nametypedefaultdescription
Mutable Constructive Byte ArrayMutable Constructive Byte Array—
valueText—

Returns

resultMutable Constructive Byte Array
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Events Routine StateMachineState
Declared by
Mutable Constructive Byte Array
Package
Platform

Write U Int

Function

Writes a 32-bit unsigned integer.

Signature
WriteUInt -> Mutable Constructive Byte Array
    Mutable Constructive Byte Array: Mutable Constructive Byte Array
    value: Positive Integer
MutableConstructiveByteArray WriteUInt(
    MutableConstructiveByteArray Mutable Constructive Byte Array,
    uint value)

Parameters

nametypedefaultdescription
Mutable Constructive Byte ArrayMutable Constructive Byte Array—
valuePositive Integer—

Returns

resultMutable Constructive Byte Array
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Events Routine StateMachineState
Declared by
Mutable Constructive Byte Array
Package
Platform

Write U Long

Function

Writes a 64-bit unsigned integer.

Signature
WriteULong -> Mutable Constructive Byte Array
    Mutable Constructive Byte Array: Mutable Constructive Byte Array
    value: Large Positive Integer
MutableConstructiveByteArray WriteULong(
    MutableConstructiveByteArray Mutable Constructive Byte Array,
    ulong value)

Parameters

nametypedefaultdescription
Mutable Constructive Byte ArrayMutable Constructive Byte Array—
valueLarge Positive Integer—

Returns

resultMutable Constructive Byte Array
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Events Routine StateMachineState
Declared by
Mutable Constructive Byte Array
Package
Platform

Write U Short

Function

Writes a 16-bit unsigned integer.

Signature
WriteUShort -> Mutable Constructive Byte Array
    Mutable Constructive Byte Array: Mutable Constructive Byte Array
    value: Small Positive Integer
MutableConstructiveByteArray WriteUShort(
    MutableConstructiveByteArray Mutable Constructive Byte Array,
    ushort value)

Parameters

nametypedefaultdescription
Mutable Constructive Byte ArrayMutable Constructive Byte Array—
valueSmall Positive Integer—

Returns

resultMutable Constructive Byte Array
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Events Routine StateMachineState
Declared by
Mutable Constructive Byte Array
Package
Platform