Package org.conscrypt
Class NativeSsl.BioWrapper
- java.lang.Object
-
- org.conscrypt.NativeSsl.BioWrapper
-
- Enclosing class:
- NativeSsl
final class NativeSsl.BioWrapper extends java.lang.Object
A utility wrapper that abstracts operations on the underlying native BIO instance.
-
-
Field Summary
Fields Modifier and Type Field Description private long
bio
-
Constructor Summary
Constructors Modifier Constructor Description private
BioWrapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
close()
(package private) int
getPendingWrittenBytes()
(package private) int
readDirectByteBuffer(long destAddress, int destLength)
(package private) int
writeDirectByteBuffer(long address, int length)
-
-
-
Method Detail
-
getPendingWrittenBytes
int getPendingWrittenBytes()
-
writeDirectByteBuffer
int writeDirectByteBuffer(long address, int length) throws java.io.IOException
- Throws:
java.io.IOException
-
readDirectByteBuffer
int readDirectByteBuffer(long destAddress, int destLength) throws java.io.IOException
- Throws:
java.io.IOException
-
close
void close()
-
-