public static class InStream.EncryptedStream extends InStream.UncompressedStream
InStream.CompressedStream, InStream.EncryptedStream, InStream.StreamOptions, InStream.UncompressedStream
currentOffset, 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, seek
create, create, createCodedInputStream, options, reset, reset
mark, markSupported, read, reset, skip
public EncryptedStream(Object name, DiskRangeList input, long offset, long length, InStream.StreamOptions options)
protected void setCurrent(DiskRangeList newRange, boolean isJump)
InStream
setCurrent
in class InStream.UncompressedStream
newRange
- the block that is currentisJump
- if this was a seek instead of a natural readpublic void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in class InStream.UncompressedStream
public void changeIv(Consumer<byte[]> modifier)
changeIv
in class InStream.UncompressedStream
public String toString()
toString
in class InStream.UncompressedStream
Copyright © 2013–2023 The Apache Software Foundation. All rights reserved.