org.tukaani.xz.rangecoder.RangeEncoderToStream Maven / Gradle / Ivy
/*
* 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