/// <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(); } }
/// <summary> /// Calls BIO_write() /// </summary> /// <param name="buf"></param> public void Write(byte[] buf) { if (Native.BIO_write(ptr, buf, buf.Length) != buf.Length) { throw new OpenSslException(); } }