Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.anarres.lzo.commons;
 

Author(s):
shevek
    private final LzoInputStream in;
    public LzoCompressorInputStream(@Nonnull InputStream in, @Nonnull LzoDecompressor decompressor) {
        this. = new LzoInputStream(indecompressor);
    }
    public LzoCompressorInputStream(@Nonnull InputStream in, @Nonnull LzoAlgorithm algorithm) {
        this. = new LzoInputStream(in, LzoLibrary.getInstance().newDecompressor(algorithmnull));
    }
    @Override
    public int read() throws IOException {
        int b = .read();
        count(b < 0 ? -1 : 1);
        return b;
    }
New to GrepCode? Check out our FAQ X