Package org.conscrypt

Class NativeSsl.BioWrapper

java.lang.Object
org.conscrypt.NativeSsl.BioWrapper
Enclosing class:
NativeSsl

final class NativeSsl.BioWrapper extends Object
A utility wrapper that abstracts operations on the underlying native BIO instance.
  • Field Details

    • bio

      private volatile long bio
  • Constructor Details

  • Method Details

    • getPendingWrittenBytes

      int getPendingWrittenBytes()
    • writeDirectByteBuffer

      int writeDirectByteBuffer(long address, int length) throws IOException
      Throws:
      IOException
    • readDirectByteBuffer

      int readDirectByteBuffer(long destAddress, int destLength) throws IOException
      Throws:
      IOException
    • close

      void close()