Method gets
gets(UInt32)
Exposes the internal data representation of the value at absolute position i on the stack.
Declaration
public ReadOnlySpan<uint> gets(uint i)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | i | Absolute index of the value to get. |
Returns
Type | Description |
---|---|
System.ReadOnlySpan<System.UInt32> |
Remarks
Apply norm(Int32) beforehand to ensure the fraction is normalized in its binary form, if required.
Note: The returned data is only valid solong the stack entry is not changed by a subsequent cpu operation.
Together with push(ReadOnlySpan<UInt32>) the operation represent a fast low level interface for direct access in form of the internal data representation.
This is intended to allow:
- custom algorithms working on bitlevel
- custom binary serialization
- custom types like vectors with own storage managemend.
For absolute positions see: mark()