OpenSSL.Core.Native.BIO_write C# (CSharp) Method

BIO_write() private method

private BIO_write ( IntPtr b, byte buf, int len ) : int
b System.IntPtr
buf byte
len int
return int
        public static extern int BIO_write(IntPtr b, byte[] buf, int len);

Usage Example

Example #1
0
 /// <summary>
 /// Calls BIO_write()
 /// </summary>
 /// <param name="buf"></param>
 /// <param name="len"></param>
 public void Write(byte[] buf, int len)
 {
     if (Native.BIO_write(ptr, buf, len) != len)
     {
         throw new OpenSslException();
     }
 }
All Usage Examples Of OpenSSL.Core.Native::BIO_write
Native