public abstract class PositionedOutputStream extends OutputStream
Constructor and Description |
---|
PositionedOutputStream() |
Modifier and Type | Method and Description |
---|---|
abstract void |
changeIv(Consumer<byte[]> modifier)
Change the current Initialization Vector (IV) for the encryption.
|
abstract long |
getBufferSize()
Get the memory size currently allocated as buffer associated with this
stream.
|
abstract void |
getPosition(PositionRecorder recorder)
Record the current position to the recorder.
|
public abstract void getPosition(PositionRecorder recorder) throws IOException
recorder
- the object that receives the positionIOException
public abstract long getBufferSize()
public abstract void changeIv(Consumer<byte[]> modifier)
modifier
- a function to modify the IV in placeCopyright © 2013–2021 The Apache Software Foundation. All rights reserved.