public static extern IntPtr BIO_new_mem_buf(byte[] buf, int len);
/// <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) { }