Class ZSTDBufferOutputStream

java.lang.Object
java.io.OutputStream
ca.spottedleaf.ioutil.stream.AbstractBufferOutputStream
ca.spottedleaf.ioutil.stream.zstd.ZSTDBufferOutputStream
All Implemented Interfaces:
Closeable, DataOutput, Flushable, AutoCloseable

public final class ZSTDBufferOutputStream extends ca.spottedleaf.ioutil.stream.AbstractBufferOutputStream
  • Field Summary

    Fields inherited from class ca.spottedleaf.ioutil.stream.AbstractBufferOutputStream

    writeBuffer
  • Constructor Summary

    Constructors
    Constructor
    Description
    ZSTDBufferOutputStream(ca.spottedleaf.ioutil.buffer.Buffer compressedBuffer, ca.spottedleaf.ioutil.buffer.Buffer decompressedBuffer, com.github.luben.zstd.ZstdCompressCtx compressor, Consumer<com.github.luben.zstd.ZstdCompressCtx> closeCompressor, ca.spottedleaf.ioutil.stream.AbstractBufferOutputStream wrap)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
     
    protected boolean
     

    Methods inherited from class ca.spottedleaf.ioutil.stream.AbstractBufferOutputStream

    ensureWritable, getImmediatelyWritable, getWritable, tryEnsure, tryEnsureImmediatelyWritable, write, write, write, write, write, write, write, write, write, write, write, writeBoolean, writeBuffer, writeByte, writeBytes, writeBytes, writeChar, writeCharLE, writeCharNO, writeChars, writeChars, writeChars, writeChars, writeCharsLE, writeCharsLE, writeCharsNO, writeCharsNO, writeDouble, writeDoubleLE, writeDoubleNO, writeDoubles, writeDoubles, writeDoublesLE, writeDoublesLE, writeDoublesNO, writeDoublesNO, writeFilePos, writeFilePos, writeFloat, writeFloatLE, writeFloatNO, writeFloats, writeFloats, writeFloatsLE, writeFloatsLE, writeFloatsNO, writeFloatsNO, writeInt, writeIntLE, writeIntNO, writeInts, writeInts, writeIntsLE, writeIntsLE, writeIntsNO, writeIntsNO, writeLong, writeLongLE, writeLongNO, writeLongs, writeLongs, writeLongsLE, writeLongsLE, writeLongsNO, writeLongsNO, writeMedium, writeMediumLE, writeMediums, writeMediums, writeMediumsLE, writeMediumsLE, writeShort, writeShortLE, writeShortNO, writeShorts, writeShorts, writeShortsLE, writeShortsLE, writeShortsNO, writeShortsNO, writeSignedVarInt, writeSignedVarLong, writeUnsignedVarInt, writeUnsignedVarLong, writeUTF

    Methods inherited from class OutputStream

    nullOutputStream

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ZSTDBufferOutputStream

      public ZSTDBufferOutputStream(ca.spottedleaf.ioutil.buffer.Buffer compressedBuffer, ca.spottedleaf.ioutil.buffer.Buffer decompressedBuffer, com.github.luben.zstd.ZstdCompressCtx compressor, Consumer<com.github.luben.zstd.ZstdCompressCtx> closeCompressor, ca.spottedleaf.ioutil.stream.AbstractBufferOutputStream wrap)
  • Method Details