Project Name
Version 1.0
|
Data Fields | |
int(* | read )(struct jh_stream_ts *stream, unsigned char *buffer, size_t bytes) |
User-defined function that reads the number of bytes in a stream to a buffer. | |
int(* | write )(struct jh_stream_ts *stream, unsigned char *buffer, size_t bytes) |
User-defined function that writes the number of bytes in a buffer to a stream. | |
int(* | seek )(struct jh_stream_ts *stream, long long position, unsigned origin) |
User-defined function that navigates through a file and sets the reading position. | |
jh_dst_mgr_t * | pri |
Definition at line 132 of file jh_datatypes.h.
int(* jh_stream_ts::read)(struct jh_stream_ts *stream, unsigned char *buffer, size_t bytes) |
User-defined function that reads the number of bytes in a stream to a buffer.
[in] | stream | Data stream. |
[in] | buffer | Address where the data is to be stored. |
[in] | bytes | Number of bytes to be read. |
Definition at line 140 of file jh_datatypes.h.
int(* jh_stream_ts::seek)(struct jh_stream_ts *stream, long long position, unsigned origin) |
User-defined function that navigates through a file and sets the reading position.
[in] | stream | Output data stream. |
[in] | position | Reading position. |
Definition at line 160 of file jh_datatypes.h.
int(* jh_stream_ts::write)(struct jh_stream_ts *stream, unsigned char *buffer, size_t bytes) |
User-defined function that writes the number of bytes in a buffer to a stream.
[in] | stream | Output data stream. |
[in] | buffer | Address where the data is to be stored. |
[in] | bytes | Number of bytes to be written. |
Definition at line 150 of file jh_datatypes.h.