class LimitedInputStream extends InputStream {

    @Override
    public boolean markSupported() {
        return in.markSupported();
    }

    public  LimitedInputStream(final InputStream in, final long limit);

}