Skip to content

Theobald.Ogc.BinaryHelper

Namespace: Theobald.Ogc
Assembly: ERPConnectStandard20.dll

public readonly struct BinaryHelper

Inherited Members

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

BinaryHelper(in byte[])

public BinaryHelper(in byte[] value)

Parameters

value byte[]

Properties

Value

public byte[] Value { get; }

Property Value

byte[]

this[int]

public byte this[in int i] { get; set; }

Property Value

byte

Methods

EnsureLittleEndian()

public static void EnsureLittleEndian()

ToBytesBigEndian(in uint, in int)

public void ToBytesBigEndian(in uint uint32, in int offset)

Parameters

uint32 uint

offset int

ToBytesBigEndian(in ulong, in int)

public void ToBytesBigEndian(in ulong uint64, in int offset)

Parameters

uint64 ulong

offset int

ToBytesBigEndian(double, in int)

public void ToBytesBigEndian(double d, in int offset)

Parameters

d double

offset int

ToBytesNative(in uint, in int)

public void ToBytesNative(in uint uint32, in int offset)

Parameters

uint32 uint

offset int

ToBytesNative(in double, in int)

public void ToBytesNative(in double d, in int offset)

Parameters

d double

offset int

ToDoubleBigEndian(in int)

public double ToDoubleBigEndian(in int offset)

Parameters

offset int

Returns

double

ToDoubleNative(in int)

public double ToDoubleNative(in int offset)

Parameters

offset int

Returns

double

ToUint32BigEndian(in int)

public uint ToUint32BigEndian(in int offset)

Parameters

offset int

Returns

uint

ToUint32Native(in int)

public uint ToUint32Native(in int offset)

Parameters

offset int

Returns

uint

ToUint64BigEndian(in int)

public ulong ToUint64BigEndian(in int offset)

Parameters

offset int

Returns

ulong


Last update: January 4, 2024