mpc_reader_t Struct Reference

List of all members.

Public Attributes

mpc_int32_t(* read )(mpc_reader *p_reader, void *ptr, mpc_int32_t size)
 Reads size bytes of data into buffer at ptr.
mpc_bool_t(* seek )(mpc_reader *p_reader, mpc_int32_t offset)
 Seeks to byte position offset.
mpc_int32_t(* tell )(mpc_reader *p_reader)
 Returns the current byte offset in the stream.
mpc_int32_t(* get_size )(mpc_reader *p_reader)
 Returns the total length of the source stream, in bytes.
mpc_bool_t(* canseek )(mpc_reader *p_reader)
 True if the stream is a seekable stream.
void * data

Detailed Description

Definition at line 55 of file reader.h.


Member Data Documentation

Field that can be used to identify a particular instance of reader or carry along data associated with that reader.

Definition at line 73 of file reader.h.


The documentation for this struct was generated from the following file:

Generated on 8 Jul 2021 for libmpcdec by  doxygen 1.6.1