StdVectorByte

References
public class StdVectorByte : IDisposable
Wrapper for std::vector<unsigned char>. If you are not writing C++ code then this class is not for you.

Constructors

StdVectorByte

#Since v7.26
public StdVectorByte()
Initializes a new SimpleArrayByte class.

StdVectorByte

#Since v7.26
public StdVectorByte(IEnumerable<byte> values)
Initializes a new StdVectorByte class
values (IEnumerable<byte>)initial set of integers to add to the array

StdVectorByte

#Since v7.26
public StdVectorByte(StdVectorByte other)
Initializes a new SimpleArrayByte with the contents of another SimpleArrayByte.
other (StdVectorByte)

StdVectorByte

#
[CLSCompliant(false)] public StdVectorByte(ulong initialSize)
Initializes a new SimpleArrayByte class. Initial size of the array - all values are set to zero.
initialSize (ulong)

Finalizer

~StdVectorByte

#
~StdVectorByte()
Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().

Properties

Count

#Since v7.26
[CLSCompliant(false)] public ulong Count { get; }
Gets the amount of elements in this array.

Methods

ConstPointer

#Since v7.26
public nint ConstPointer()
Gets the constant (immutable) pointer of this vector.
The constant pointer.

CopyTo

#Since v7.26
public void CopyTo(StdVectorByte other)
Copies the contents of a StdVectorByte into another StdVectorByte.
other (StdVectorByte)

Dispose

#Since v7.0
public void Dispose()
Actively reclaims unmanaged resources that this instance uses.

Memory

#Since v7.26
public nint Memory()
Return the raw data.

NonConstPointer

#Since v7.26
public nint NonConstPointer()
Gets the non-constant pointer (for modification) of this vector.
The non-constant pointer.

ToArray

#Since v7.26
public byte[] ToArray()
Returns the managed counterpart of the unmanaged array.
The managed array.