public static class InStream.EncryptedStream extends InStream.UncompressedStream
InStream.EncryptedStream, InStream.StreamOptions, InStream.UncompressedStreamcurrentOffset, currentRange, decrypted| Constructor and Description |
|---|
EncryptedStream(Object name,
DiskRangeList input,
long offset,
long length,
InStream.StreamOptions options) |
| Modifier and Type | Method and Description |
|---|---|
void |
changeIv(Consumer<byte[]> modifier) |
void |
close() |
protected void |
setCurrent(DiskRangeList newRange,
boolean isJump)
Set the current range
|
String |
toString() |
available, read, read, seek, seekcreate, create, createCodedInputStream, options, resetmark, markSupported, read, reset, skippublic EncryptedStream(Object name, DiskRangeList input, long offset, long length, InStream.StreamOptions options)
protected void setCurrent(DiskRangeList newRange, boolean isJump)
InStreamsetCurrent in class InStream.UncompressedStreamnewRange - the block that is currentisJump - if this was a seek instead of a natural readpublic void close()
close in interface Closeableclose in interface AutoCloseableclose in class InStream.UncompressedStreampublic void changeIv(Consumer<byte[]> modifier)
changeIv in class InStream.UncompressedStreampublic String toString()
toString in class InStream.UncompressedStreamCopyright © 2013–2021 The Apache Software Foundation. All rights reserved.