public BIO(byte[] buf) : base(Native.ExpectNonNull(Native.BIO_new(Native.BIO_s_mem())), true) { this.Write(buf); }