org.tukaani.xz.rangecoder.RangeEncoderToStream Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of commons-compress Show documentation
Show all versions of commons-compress Show documentation
This artifact contains the same classes as
${modularized.groupId}%${modularized.artifactId}%${modularized.version}
but also a module-info.class
/*
* RangeEncoderToStream
*
* Authors: Lasse Collin
* Igor Pavlov
*
* This file has been put into the public domain.
* You can do whatever you want with this file.
*/
package org.tukaani.xz.rangecoder;
import java.io.OutputStream;
import java.io.IOException;
public final class RangeEncoderToStream extends RangeEncoder {
private final OutputStream out;
public RangeEncoderToStream(OutputStream out) {
this.out = out;
reset();
}
void writeByte(int b) throws IOException {
out.write(b);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy