Output Buffer
29 nodes
On this page 29
Make Output Buffer
FunctionCreates a new immutable constructive byte array.
Overload 1 of 2
ImmutableConstructiveByteArray() -> Output Buffer
ImmutableConstructiveByteArray ImmutableConstructiveByteArray()
Returns
| result | Output Buffer |
Overload 2 of 2
ImmutableConstructiveByteArray -> Output Buffer
endianness: Byte Array Endianness
stringEncoding: EncodingImmutableConstructiveByteArray ImmutableConstructiveByteArray(
ByteArrayEndianness endianness,
Encoding stringEncoding)Parameters
| name | type | default | description |
|---|---|---|---|
| endianness | Byte Array Endianness | — | |
| stringEncoding | Encoding | — |
Returns
| result | Output Buffer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Output Buffer
- Package
- Platform
Clear
FunctionReturns an empty buffer using the same settings.
Clear(Output Buffer: Output Buffer) -> Output Buffer
ImmutableConstructiveByteArray Clear(ImmutableConstructiveByteArray Output Buffer)
Parameters
| name | type | default | description |
|---|---|---|---|
| Output Buffer | Output Buffer | — |
Returns
| result | Output Buffer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Output Buffer
- Package
- Platform
Equals
FunctionOverload 1 of 2
Equals -> Truth
Output Buffer: Output Buffer
other: Output Bufferbool Equals(
ImmutableConstructiveByteArray Output Buffer,
ImmutableConstructiveByteArray other)Determines whether this object contains the same bytes as another immutable constructive byte array.
Parameters
| name | type | default | description |
|---|---|---|---|
| Output Buffer | Output Buffer | — | |
| other | Output Buffer | — |
Returns
| result | Truth |
Overload 2 of 2
Equals(Output Buffer: Output Buffer, obj: Any) -> Truth
bool Equals(
ImmutableConstructiveByteArray Output Buffer,
object obj)Determines whether this object contains the same bytes as another object.
Parameters
| name | type | default | description |
|---|---|---|---|
| Output Buffer | Output Buffer | — | |
| obj | Any | — |
Returns
| result | Truth |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Output Buffer
- Package
- Platform
Endianness
FunctionGets the byte order used by numeric write operations.
Endianness(Output Buffer: Output Buffer) -> Byte Array Endianness
ByteArrayEndianness Endianness(ImmutableConstructiveByteArray Output Buffer)
Parameters
| name | type | default | description |
|---|---|---|---|
| Output Buffer | Output Buffer | — |
Returns
| result | Byte Array Endianness |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Output Buffer
- Package
- Platform
Is Empty
FunctionGets whether this buffer contains no bytes.
IsEmpty(Output Buffer: Output Buffer) -> Truth
bool IsEmpty(ImmutableConstructiveByteArray Output Buffer)
Parameters
| name | type | default | description |
|---|---|---|---|
| Output Buffer | Output Buffer | — |
Returns
| result | Truth |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Output Buffer
- Package
- Platform
Length
FunctionGets the number of bytes currently written.
Length(Output Buffer: Output Buffer) -> Integer
int Length(ImmutableConstructiveByteArray Output Buffer)
Parameters
| name | type | default | description |
|---|---|---|---|
| Output Buffer | Output Buffer | — |
Returns
| result | Integer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Output Buffer
- Package
- Platform
String Encoding
FunctionGets the encoding used by string write operations.
StringEncoding(Output Buffer: Output Buffer) -> Encoding
Encoding StringEncoding(ImmutableConstructiveByteArray Output Buffer)
Parameters
| name | type | default | description |
|---|---|---|---|
| Output Buffer | Output Buffer | — |
Returns
| result | Encoding |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Output Buffer
- Package
- Platform
Get Hash Code
FunctionReturns a hash code based on the current bytes.
GetHashCode(Output Buffer: Output Buffer) -> Integer
int GetHashCode(ImmutableConstructiveByteArray Output Buffer)
Parameters
| name | type | default | description |
|---|---|---|---|
| Output Buffer | Output Buffer | — |
Returns
| result | Integer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Output Buffer
- Package
- Platform
Save
FunctionSaves the current bytes to a file.
Save(Output Buffer: Output Buffer, path: Text) -> Output Buffer
ImmutableConstructiveByteArray Save(
ImmutableConstructiveByteArray Output Buffer,
string path)Parameters
| name | type | default | description |
|---|---|---|---|
| Output Buffer | Output Buffer | — | |
| path | Text | — |
Returns
| result | Output Buffer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Output Buffer
- Package
- Platform
To Array
FunctionReturns a copy of the current bytes.
ToArray(Output Buffer: Output Buffer) -> Byte Array
byte[] ToArray(ImmutableConstructiveByteArray Output Buffer)
Parameters
| name | type | default | description |
|---|---|---|---|
| Output Buffer | Output Buffer | — |
Returns
| result | Byte Array |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Output Buffer
- Package
- Platform
To String
FunctionReturns a hexadecimal preview of the current bytes.
ToString(Output Buffer: Output Buffer) -> Text
string ToString(ImmutableConstructiveByteArray Output Buffer)
Parameters
| name | type | default | description |
|---|---|---|---|
| Output Buffer | Output Buffer | — |
Returns
| result | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Output Buffer
- Package
- Platform
With Endianness
FunctionReturns a copy with a different numeric byte order.
WithEndianness -> Output Buffer
Output Buffer: Output Buffer
endianness: Byte Array EndiannessImmutableConstructiveByteArray WithEndianness(
ImmutableConstructiveByteArray Output Buffer,
ByteArrayEndianness endianness)Parameters
| name | type | default | description |
|---|---|---|---|
| Output Buffer | Output Buffer | — | |
| endianness | Byte Array Endianness | — |
Returns
| result | Output Buffer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Output Buffer
- Package
- Platform
With String Encoding
FunctionReturns a copy with a different string encoding.
WithStringEncoding -> Output Buffer
Output Buffer: Output Buffer
encoding: EncodingImmutableConstructiveByteArray WithStringEncoding(
ImmutableConstructiveByteArray Output Buffer,
Encoding encoding)Parameters
| name | type | default | description |
|---|---|---|---|
| Output Buffer | Output Buffer | — | |
| encoding | Encoding | — |
Returns
| result | Output Buffer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Output Buffer
- Package
- Platform
Write Bool
FunctionWrites a Boolean as one byte.
WriteBool -> Output Buffer
Output Buffer: Output Buffer
value: TruthImmutableConstructiveByteArray WriteBool(
ImmutableConstructiveByteArray Output Buffer,
bool value)Parameters
| name | type | default | description |
|---|---|---|---|
| Output Buffer | Output Buffer | — | |
| value | Truth | — |
Returns
| result | Output Buffer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Output Buffer
- Package
- Platform
Write Byte
FunctionWrites a byte.
WriteByte -> Output Buffer
Output Buffer: Output Buffer
value: ByteImmutableConstructiveByteArray WriteByte(
ImmutableConstructiveByteArray Output Buffer,
byte value)Parameters
| name | type | default | description |
|---|---|---|---|
| Output Buffer | Output Buffer | — | |
| value | Byte | — |
Returns
| result | Output Buffer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Output Buffer
- Package
- Platform
Write Bytes
FunctionOverload 1 of 5
WriteBytes -> Output Buffer
Output Buffer: Output Buffer
count: IntegerImmutableConstructiveByteArray WriteBytes(
ImmutableConstructiveByteArray Output Buffer,
int count)Writes empty zero padding.
Parameters
| name | type | default | description |
|---|---|---|---|
| Output Buffer | Output Buffer | — | |
| count | Integer | — |
Returns
| result | Output Buffer |
Overload 2 of 5
WriteBytes -> Output Buffer
Output Buffer: Output Buffer
count: Integer
subblock: Func<Output Buffer, Output Buffer>ImmutableConstructiveByteArray WriteBytes(
ImmutableConstructiveByteArray Output Buffer,
int count,
Func<ImmutableConstructiveByteArray, ImmutableConstructiveByteArray> subblock)Writes a fixed-size immutable subblock. The continuation returns the written subblock, which is then padded with zeroes up to Count.
Parameters
| name | type | default | description |
|---|---|---|---|
| Output Buffer | Output Buffer | — | |
| count | Integer | — | |
| subblock | Func<Output Buffer, Output Buffer> | — |
Returns
| result | Output Buffer |
Overload 3 of 5
WriteBytes -> Output Buffer
Output Buffer: Output Buffer
source: Output BufferImmutableConstructiveByteArray WriteBytes(
ImmutableConstructiveByteArray Output Buffer,
ImmutableConstructiveByteArray source)Appends another immutable constructive byte array.
Parameters
| name | type | default | description |
|---|---|---|---|
| Output Buffer | Output Buffer | — | |
| source | Output Buffer | — |
Returns
| result | Output Buffer |
Overload 4 of 5
WriteBytes -> Output Buffer
Output Buffer: Output Buffer
source: Mutable Constructive Byte ArrayImmutableConstructiveByteArray WriteBytes(
ImmutableConstructiveByteArray Output Buffer,
MutableConstructiveByteArray source)Appends a mutable constructive byte array.
Parameters
| name | type | default | description |
|---|---|---|---|
| Output Buffer | Output Buffer | — | |
| source | Mutable Constructive Byte Array | — |
Returns
| result | Output Buffer |
Overload 5 of 5
WriteBytes -> Output Buffer
Output Buffer: Output Buffer
source: Byte ArrayImmutableConstructiveByteArray WriteBytes(
ImmutableConstructiveByteArray Output Buffer,
byte[] source)Appends raw bytes.
Parameters
| name | type | default | description |
|---|---|---|---|
| Output Buffer | Output Buffer | — | |
| source | Byte Array | — |
Returns
| result | Output Buffer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Output Buffer
- Package
- Platform
Write Double
FunctionWrites a 64-bit floating-point value.
WriteDouble -> Output Buffer
Output Buffer: Output Buffer
value: NumberImmutableConstructiveByteArray WriteDouble(
ImmutableConstructiveByteArray Output Buffer,
double value)Parameters
| name | type | default | description |
|---|---|---|---|
| Output Buffer | Output Buffer | — | |
| value | Number | — |
Returns
| result | Output Buffer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Output Buffer
- Package
- Platform
Write Float
FunctionWrites a 32-bit floating-point value.
WriteFloat -> Output Buffer
Output Buffer: Output Buffer
value: Low Accuracy NumberImmutableConstructiveByteArray WriteFloat(
ImmutableConstructiveByteArray Output Buffer,
float value)Parameters
| name | type | default | description |
|---|---|---|---|
| Output Buffer | Output Buffer | — | |
| value | Low Accuracy Number | — |
Returns
| result | Output Buffer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Output Buffer
- Package
- Platform
Write Guid
FunctionWrites a GUID using the runtime byte representation of Guid.ToByteArray.
WriteGuid -> Output Buffer
Output Buffer: Output Buffer
value: GuidImmutableConstructiveByteArray WriteGuid(
ImmutableConstructiveByteArray Output Buffer,
Guid value)Parameters
| name | type | default | description |
|---|---|---|---|
| Output Buffer | Output Buffer | — | |
| value | Guid | — |
Returns
| result | Output Buffer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Output Buffer
- Package
- Platform
Write Int
FunctionWrites a 32-bit signed integer.
WriteInt -> Output Buffer
Output Buffer: Output Buffer
value: IntegerImmutableConstructiveByteArray WriteInt(
ImmutableConstructiveByteArray Output Buffer,
int value)Parameters
| name | type | default | description |
|---|---|---|---|
| Output Buffer | Output Buffer | — | |
| value | Integer | — |
Returns
| result | Output Buffer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Output Buffer
- Package
- Platform
Write Long
FunctionWrites a 64-bit signed integer.
WriteLong -> Output Buffer
Output Buffer: Output Buffer
value: Large IntegerImmutableConstructiveByteArray WriteLong(
ImmutableConstructiveByteArray Output Buffer,
long value)Parameters
| name | type | default | description |
|---|---|---|---|
| Output Buffer | Output Buffer | — | |
| value | Large Integer | — |
Returns
| result | Output Buffer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Output Buffer
- Package
- Platform
Write Signed Byte
FunctionWrites a signed byte.
WriteSByte -> Output Buffer
Output Buffer: Output Buffer
value: SByteImmutableConstructiveByteArray WriteSByte(
ImmutableConstructiveByteArray Output Buffer,
sbyte value)Parameters
| name | type | default | description |
|---|---|---|---|
| Output Buffer | Output Buffer | — | |
| value | SByte | — |
Returns
| result | Output Buffer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Output Buffer
- Package
- Platform
Write Short
FunctionWrites a 16-bit signed integer.
WriteShort -> Output Buffer
Output Buffer: Output Buffer
value: Small IntegerImmutableConstructiveByteArray WriteShort(
ImmutableConstructiveByteArray Output Buffer,
short value)Parameters
| name | type | default | description |
|---|---|---|---|
| Output Buffer | Output Buffer | — | |
| value | Small Integer | — |
Returns
| result | Output Buffer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Output Buffer
- Package
- Platform
Write String Fixed Size
FunctionOverload 1 of 2
WriteStringFixedSize -> Output Buffer
Output Buffer: Output Buffer
value: TextImmutableConstructiveByteArray WriteStringFixedSize(
ImmutableConstructiveByteArray Output Buffer,
string value)Writes a fixed-size string using exactly the encoded byte count of Value.
Parameters
| name | type | default | description |
|---|---|---|---|
| Output Buffer | Output Buffer | — | |
| value | Text | — |
Returns
| result | Output Buffer |
Overload 2 of 2
WriteStringFixedSize -> Output Buffer
Output Buffer: Output Buffer
value: Text
size: IntegerImmutableConstructiveByteArray WriteStringFixedSize(
ImmutableConstructiveByteArray Output Buffer,
string value,
int size)Writes a fixed-size string padded with zeroes to Size bytes.
Parameters
| name | type | default | description |
|---|---|---|---|
| Output Buffer | Output Buffer | — | |
| value | Text | — | |
| size | Integer | — |
Returns
| result | Output Buffer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Output Buffer
- Package
- Platform
Write String Zero Terminated
FunctionWrites a zero-terminated string.
WriteStringZeroTerminated -> Output Buffer
Output Buffer: Output Buffer
value: TextImmutableConstructiveByteArray WriteStringZeroTerminated(
ImmutableConstructiveByteArray Output Buffer,
string value)Parameters
| name | type | default | description |
|---|---|---|---|
| Output Buffer | Output Buffer | — | |
| value | Text | — |
Returns
| result | Output Buffer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Output Buffer
- Package
- Platform
Write U Int
FunctionWrites a 32-bit unsigned integer.
WriteUInt -> Output Buffer
Output Buffer: Output Buffer
value: Positive IntegerImmutableConstructiveByteArray WriteUInt(
ImmutableConstructiveByteArray Output Buffer,
uint value)Parameters
| name | type | default | description |
|---|---|---|---|
| Output Buffer | Output Buffer | — | |
| value | Positive Integer | — |
Returns
| result | Output Buffer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Output Buffer
- Package
- Platform
Write U Long
FunctionWrites a 64-bit unsigned integer.
WriteULong -> Output Buffer
Output Buffer: Output Buffer
value: Large Positive IntegerImmutableConstructiveByteArray WriteULong(
ImmutableConstructiveByteArray Output Buffer,
ulong value)Parameters
| name | type | default | description |
|---|---|---|---|
| Output Buffer | Output Buffer | — | |
| value | Large Positive Integer | — |
Returns
| result | Output Buffer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Output Buffer
- Package
- Platform
Write U Short
FunctionWrites a 16-bit unsigned integer.
WriteUShort -> Output Buffer
Output Buffer: Output Buffer
value: Small Positive IntegerImmutableConstructiveByteArray WriteUShort(
ImmutableConstructiveByteArray Output Buffer,
ushort value)Parameters
| name | type | default | description |
|---|---|---|---|
| Output Buffer | Output Buffer | — | |
| value | Small Positive Integer | — |
Returns
| result | Output Buffer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Output Buffer
- Package
- Platform
Empty
FunctionGets an empty immutable constructive byte array.
Empty() -> Output Buffer
ImmutableConstructiveByteArray Empty()
Returns
| result | Output Buffer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Output Buffer
- Package
- Platform