Class BaseComposite
A base class for composite fields.
Inheritance
BaseComposite
Implements
Inherited Members
Namespace: OnixS.SimpleBinaryEncoding
Assembly: OnixS.SimpleBinaryEncoding.dll
Syntax
public abstract class BaseComposite : IComposite
Properties
Buffer
Declaration
protected MemoryPointer.UnmanagedPointer Buffer { get; set; }
Property Value
Type | Description |
---|---|
MemoryPointer.UnmanagedPointer | The underlying memory region. |
HasValue
Declaration
public abstract bool HasValue { get; }
Property Value
Type | Description |
---|---|
bool |
|
this[string]
Gets or sets the subfield value.
Declaration
public abstract object this[string name] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
string | name | Subfield name. |
Property Value
Type | Description |
---|---|
object | Subfield value. |
Methods
Reset()
Resets the field to the null
value.
Declaration
public abstract void Reset()
Wrap(UnmanagedPointer)
Wraps around the given memory region.
Declaration
public virtual void Wrap(MemoryPointer.UnmanagedPointer buffer)
Parameters
Type | Name | Description |
---|---|---|
MemoryPointer.UnmanagedPointer | buffer | The memory region that contains the composite field value. |