All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Class ORG.opengroup.misc.Reads

java.lang.Object
    |
    +----ORG.opengroup.misc.Reads

public final class Reads
extends Object
This is a fast variable-length reader.

It reads into a series of buffers, each buffer being twice as large as the last.

At the end, it allocates a single buffer exactly equal in length to the total bytes read. It then copies everything into this final buffer.


Constructor Index

 o Reads()

Method Index

 o read(InputStream)

Constructors

 o Reads
public Reads()

Methods

 o read
public static byte[] read(InputStream is) throws IOException

All Packages  Class Hierarchy  This Package  Previous  Next  Index