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

BIO_new_mem_buf() private method

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

Usage Example

Example #1
0
 /// <summary>
 /// Calls BIO_new_mem_buf() from the specified buffer.
 /// </summary>
 /// <param name="buf"></param>
 public BIO(byte[] buf)
     : base(Native.ExpectNonNull(Native.BIO_new_mem_buf(buf, buf.Length)), true)
 {
 }
Native