Class IPvGenDCChunkWriter
Generic chunk data writer interface for GenDC parts.
Implements
Inherited Members
Namespace: eBUSDotNet
Assembly: eBUSDotNet.dll
Syntax
public class IPvGenDCChunkWriter : IDisposable
Fields
View SourceswigCMemOwn
Declaration
protected bool swigCMemOwn
Field Value
| Type | Description |
|---|---|
| bool |
Methods
View SourceAddChunk(uint, byte[], uint)
Add chunk data to the buffer.
Declaration
public virtual PvResult AddChunk(uint aID, byte[] aData, uint aLength)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | aID | Chunk data ID for aIndex. |
| byte[] | aData | Payload data of the chunk data. |
| uint | aLength | Length of the payload data of the chunk, in bytes. Must be a multiple of 4 bytes. |
Returns
| Type | Description |
|---|---|
| PvResult | A PvResult is used to capture the success or failure of the operation:
|
Dispose()
Dispose.
Declaration
public void Dispose()
Dispose(bool)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing |
~IPvGenDCChunkWriter()
Destructor.
Declaration
protected ~IPvGenDCChunkWriter()
ResetChunks()
Resets the internal chunk state.
Declaration
public virtual void ResetChunks()