Class VectorOfByte
Inherited Members
Namespace: OpenCvSharp.Internal.Vectors
Assembly: OpenCvSharp.dll
Syntax
public class VectorOfByte : DisposableCvObject, ICvPtrHolder, IStdVector<byte>
Constructors
| Improve this Doc View SourceVectorOfByte()
Constructor
Declaration
public VectorOfByte()
VectorOfByte(IEnumerable<Byte>)
Constructor
Declaration
public VectorOfByte(IEnumerable<byte> data)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<System.Byte> | data |
VectorOfByte(UIntPtr)
Constructor
Declaration
public VectorOfByte(nuint size)
Parameters
Type | Name | Description |
---|---|---|
System.UIntPtr | size |
Properties
| Improve this Doc View SourceElemPtr
&vector[0]
Declaration
public IntPtr ElemPtr { get; }
Property Value
Type | Description |
---|---|
IntPtr |
Size
vector.size()
Declaration
public int Size { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceDisposeUnmanaged()
Releases unmanaged resources
Declaration
protected override void DisposeUnmanaged()
Overrides
| Improve this Doc View SourceToArray()
Converts std::vector to managed array
Declaration
public byte[] ToArray()
Returns
Type | Description |
---|---|
System.Byte[] |
Implements
IDisposable