DataStreampublic interface DataStream This interface represents the ability of the
classes to provide the chunks of data. |
Methods Summary |
---|
public byte[] | getData(int length)Retrieves the data of specified length from the stream.
If the data size in the stream is less than specified length,
method returns all the data contained in the stream.
| public boolean | hasData()Checks if there is data to be read.
|
|