OpenSSL.Core.BIO.Write C# (CSharp) Method

Write() public method

Calls BIO_write()
public Write ( byte buf ) : void
buf byte
return void
		public void Write(byte[] buf)
		{
			if (Native.BIO_write(this.ptr, buf, buf.Length) != buf.Length)
				throw new OpenSslException();
		}

Same methods

BIO::Write ( byte buf, int len ) : void
BIO::Write ( string str ) : void
BIO::Write ( uint value ) : void
BIO::Write ( ushort value ) : void

Usage Example

Example #1
0
		/// <summary>
		/// Returns the cipher's LongName
		/// </summary>
		/// <param name="bio"></param>
		public override void Print(BIO bio)
		{
			bio.Write("CipherContext: " + this.cipher.LongName);
		}
All Usage Examples Of OpenSSL.Core.BIO::Write