Skip to main content
Version: 2.x

Class NativeBindings.OdinArray

Pinned byte Buffer

Assembly: cs.temp.dll.dll
Declaration
public class NativeBindings.OdinArray : IDisposable

Methods

SetBuffer(byte[])

Declaration
public void SetBuffer(byte[] buffer)
Parameters
TypeName
System.Byte[]buffer

SetBuffer(IntPtr, int)

Declaration
public void SetBuffer(IntPtr bufferPtr, int length)
Parameters
TypeName
Odin.IntPtrbufferPtr
System.Int32length

GetBuffer()

Declaration
public Span<byte> GetBuffer()
Returns

Odin.Span<System.Byte>

GetBuffer(int)

Declaration
public Span<byte> GetBuffer(int index)
Returns

Odin.Span<System.Byte>

Parameters
TypeName
System.Int32index

GetBuffer(int, int)

Declaration
public Span<byte> GetBuffer(int index, int length)
Returns

Odin.Span<System.Byte>

Parameters
TypeName
System.Int32index
System.Int32length

FlushBuffer()

Declaration
public void FlushBuffer()

Dispose()

Declaration
public void Dispose()