#include <decmpa.h>
Public Attributes | |
| long(* | Read )(void *pContext, void *pBuffer, long nBytes) |
| Pointer to the function that is used to read data. | |
| int(* | Seek )(void *pContext, long DestPos) |
| Pointer to function that seeks to the specified data stream position. | |
| long(* | GetLength )(void *pContext) |
| Pointer to a function that returns the length of the data stream. | |
| long(* | GetPosition )(void *pContext) |
| Pointer to a function that returns the current position in the data stream. | |
|
|
Pointer to the function that is used to read data. If this pointer is NULL, DecMPA will read from stdin and ignore the other callback functions.
|
|
|
Pointer to function that seeks to the specified data stream position. This function pointer should be set to NULL if seeking is not supported.
|
|
|
Pointer to a function that returns the length of the data stream. This function pointer can be set to NULL if the length cannot be determined. Alternatively the function can return -1,
|
|
|
Pointer to a function that returns the current position in the data stream. This function pointer can only be NULL if Read is also NULL.
|
1.2.17