class ListOfBytesInputStream extends InputStream {

    @Override
    public synchronized void mark(int readAheadLimit)
    {
        myMark = myPosition;
    }

    public  ListOfBytesInputStream(List<byte[]> data, int length, int maxChunkSize);

}