class ByteBufferInputStream extends InputStream {

    @Override
    public synchronized void mark(int readlimit)
    {
        myBuffer.mark();
    }

    public  ByteBufferInputStream(ByteBuffer buffer);

}