net.sf.ext.mediamanager.ebml
Interface DataSource
- All Known Implementing Classes:
- InputStreamDataSource
public interface DataSource
Defines the interface used for custom DataSource
's. A
DataSource
provides methods of reading bytes individually or
in arrays. These basic functions must be defined in any DataSource
objects to be used with the EBMLReader
.
- Author:
- John Cannon
readByte
byte readByte()
read
int read(byte[] buff)
read
int read(byte[] buff,
int offset,
int length)
skip
int skip(long offset)
getBytePosition
int getBytePosition()