IResourceEncoder

IResourceEncoder


Provides an interface for classes to be used to encode data into byte arrays used by the ResourceWriter.


Public:

Methods:

NameDescription
 Encode Encodes a value into a byte array for later retrieval.  
 GetEncodedResource Returns the next available resource from the encoder.  
 Reset Requests that the encoder release all currently encoded values.  

Remarks

An encoder needs to hold multiple encoded resources. Once all resources have been encoded, each resource will be requested one at a time. The same resource should never be returned more than once.

See Also

Project CorLib Overview

Class IResourceEncoder Overview