Class ZSTDBufferInputStream
java.lang.Object
java.io.InputStream
ca.spottedleaf.ioutil.stream.AbstractBufferInputStream
ca.spottedleaf.ioutil.stream.zstd.ZSTDBufferInputStream
- All Implemented Interfaces:
Closeable, DataInput, AutoCloseable
-
Field Summary
Fields inherited from class AbstractBufferInputStream
readBuffer -
Constructor Summary
ConstructorsConstructorDescriptionZSTDBufferInputStream(Buffer decompressedBuffer, Buffer compressedBuffer, com.github.luben.zstd.ZstdDecompressCtx decompressor, Consumer<com.github.luben.zstd.ZstdDecompressCtx> closeDecompressor, AbstractBufferInputStream wrap) -
Method Summary
Methods inherited from class AbstractBufferInputStream
available, ensureReadable, getImmediatelyReadable, isEOF, read, read, read, read, read, read, read, read, read, read, read, read, readBoolean, readByte, readChar, readCharLE, readCharNO, readDouble, readDoubleLE, readDoubleNO, readFilePos, readFilePos, readFloat, readFloatLE, readFloatNO, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFullyLE, readFullyLE, readFullyLE, readFullyLE, readFullyLE, readFullyLE, readFullyLE, readFullyLE, readFullyLE, readFullyLE, readFullyLE, readFullyLE, readFullyNO, readFullyNO, readFullyNO, readFullyNO, readFullyNO, readFullyNO, readFullyNO, readFullyNO, readFullyNO, readFullyNO, readFullyNO, readFullyNO, readInt, readIntLE, readIntNO, readLine, readLong, readLongLE, readLongNO, readShort, readShortLE, readShortNO, readSignedMedium, readSignedMediumLE, readSignedMediumsFully, readSignedMediumsFully, readSignedMediumsFullyLE, readSignedMediumsFullyLE, readSignedVarInt, readSignedVarLong, readUnsignedByte, readUnsignedMedium, readUnsignedMediumLE, readUnsignedMediumsFully, readUnsignedMediumsFully, readUnsignedMediumsFullyLE, readUnsignedMediumsFullyLE, readUnsignedShort, readUnsignedVarInt, readUnsignedVarLong, readUTF, skip, skipBytes, tryEnsureMethods inherited from class InputStream
mark, markSupported, nullInputStream, readAllBytes, readNBytes, readNBytes, reset, skipNBytes, transferTo
-
Constructor Details
-
ZSTDBufferInputStream
public ZSTDBufferInputStream(Buffer decompressedBuffer, Buffer compressedBuffer, com.github.luben.zstd.ZstdDecompressCtx decompressor, Consumer<com.github.luben.zstd.ZstdDecompressCtx> closeDecompressor, AbstractBufferInputStream wrap)
-
-
Method Details
-
tryFillReadBuffer
- Specified by:
tryFillReadBufferin classAbstractBufferInputStream- Throws:
IOException
-
availableLong
- Overrides:
availableLongin classAbstractBufferInputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-