Méthode | Description | |
---|---|---|
Decode ( Stream input, Stream output ) : object |
Codes the data from the input chunk into the output chunk.
|
|
Encode ( Stream input, Stream output ) : void |
Encodes the data in the input stream and saves the result in the output stream.
|
|
EncodeToFile ( Stream input, string fileName, object codecData ) : void |
Encodes data to a file.
|
|
XnaCodec ( string extension ) : System |
public Decode ( Stream input, Stream output ) : object | ||
input | Stream | Input stream (encoded data). |
output | Stream | Output stream (decoded data). |
Résultat | object |
public Encode ( Stream input, Stream output ) : void | ||
input | Stream | Input stream (decoded data). |
output | Stream | Output stream (encoded data). |
Résultat | void |
public EncodeToFile ( Stream input, string fileName, object codecData ) : void | ||
input | Stream | Stream containing data to write. |
fileName | string | Filename to output to. |
codecData | object | Extra data to use in order to describe the codec data. |
Résultat | void |
public XnaCodec ( string extension ) : System | ||
extension | string | |
Résultat | System |