Click or drag to resize

Buffer Class

https://www.emgu.com/wiki/index.php/Emgu_TF
Buffer holds a pointer to a block of data and its associated length. Typically, the data consists of a serialized protocol buffer, but other data may also be held in a buffer.
Inheritance Hierarchy

Namespace:  Emgu.TF
Assembly:  Emgu.TF.Netstandard (in Emgu.TF.Netstandard.dll) Version: 2.6.0.1294
Syntax
public class Buffer : UnmanagedObject

The Buffer type exposes the following members.

Constructors
  NameDescription
Public methodBuffer
Create a new empty buffer
Top
Properties
  NameDescription
Public propertyData
Get the raw data as an array of byte.
Public propertyDataPtr
Get the pointer to the unmanaged data
Public propertyDisposed
Returns true if the object has been disposed.
(Inherited from DisposableObject.)
Public propertyLength
The length of the Data in bytes
Public propertyPtr
Pointer to the unmanaged object
(Inherited from UnmanagedObject.)
Top
Methods
  NameDescription
Public methodDispose
The dispose function that implements IDisposable interface
(Inherited from DisposableObject.)
Protected methodDisposeObject
Release all the unmanaged memory associated with this Buffer
(Overrides DisposableObjectDisposeObject.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Destructor
(Inherited from DisposableObject.)
Public methodStatic memberFromString
Create a new Buffer from raw protobuf data
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetMemoryStream
Get a copy of the data as a memory stream
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodReleaseManagedResources
Release the managed resources. This function will be called during the disposal of the current object. override ride this function if you need to call the Dispose() function on any managed IDisposable object created by the current object
(Inherited from DisposableObject.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Protected field_ptr
A pointer to the unmanaged object
(Inherited from UnmanagedObject.)
Top
See Also