Closeable
, AutoCloseable
, Channel
, ReadableByteChannel
public class DecryptingReadableByteChannel extends Object implements ReadableByteChannel
Constructor | Description |
---|---|
DecryptingReadableByteChannel(ReadableByteChannel src,
Cryptor cryptor,
boolean authenticate) |
public DecryptingReadableByteChannel(ReadableByteChannel src, Cryptor cryptor, boolean authenticate)
public void close() throws IOException
close
in interface AutoCloseable
close
in interface Channel
close
in interface Closeable
IOException
public int read(ByteBuffer dst) throws IOException
read
in interface ReadableByteChannel
IOException
Copyright © 2018. All rights reserved.