343 |
|
|
344 |
/* free a stream */ |
/* free a stream */ |
345 |
FT_BASE( void ) |
FT_BASE( void ) |
346 |
FT_Stream_Free( FT_Stream stream, |
FT_Stream_Free( FT_Stream stream, |
347 |
FT_Int external ); |
FT_Int external ); |
348 |
|
|
349 |
/* initialize a stream for reading in-memory data */ |
/* initialize a stream for reading in-memory data */ |
385 |
FT_Byte* buffer, |
FT_Byte* buffer, |
386 |
FT_ULong count ); |
FT_ULong count ); |
387 |
|
|
388 |
|
/* try to read bytes at the end of a stream, return |
389 |
|
* the number of bytes really available |
390 |
|
*/ |
391 |
|
FT_BASE( FT_ULong ) |
392 |
|
FT_Stream_TryRead( FT_Stream stream, |
393 |
|
FT_Byte* buffer, |
394 |
|
FT_ULong count ); |
395 |
|
|
396 |
/* Enter a frame of `count' consecutive bytes in a stream. Returns an */ |
/* Enter a frame of `count' consecutive bytes in a stream. Returns an */ |
397 |
/* error if the frame could not be read/accessed. The caller can use */ |
/* error if the frame could not be read/accessed. The caller can use */ |
398 |
/* the FT_Stream_Get_XXX functions to retrieve frame data without */ |
/* the FT_Stream_Get_XXX functions to retrieve frame data without */ |