TypedBuffer Members

TypedBuffer Overview

 

Public Types

BufferPolicy

Type to describe relationship between the typed buffer and its wrapper instance of TypedBuffer derived class

 

Public Fields

 TMTYPELEN

Maximum length of a valid type string of typed buffer

 TMSTYPELEN

Maximum length of a valid sub-type string of typed buffer

 

Public Properties

* Buffer

The location of unmanaged typed buffer allocated by ATMI C functions such as tpalloc.

* Size

The size of unmanaged typed buffer

* Type

The type of typed buffer

* Subtype

The sub-type of typed buffer

 

Public Methods

 Resize

Resize the unmanaged typed buffer owned by the instance

* Dispose

Free the unmanaged typed buffer owned by the instance

* DoPreSend

Used to explicitly call the PreSend method for the instance

* DoPostReceive

Used to explicitly call the PostReceive method for the instance

 

Protected Methods

 Dispose

Overridable, used to implement the Dispose pattern.

 PreSend

Overridable, for derived class to do its own conversion work before an unmanaged typed buffer is delivered to ATMI C functions.

 PostReceive

Overridable, for derived class to do its own conversion work after an unmanaged typed buffer is returned from ATMI C functions.

 

Protected Constructors

 TypedBuffer Constructor

Initializes a new instance of the TypedBuffer class