Method Write
Write(byte[])
Writes all of the specified bytes to the stream.
public virtual void Write(byte[] bytes)
Parameters
bytes
byte[]The bytes to write.
Write(byte[], int, int)
Writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.
public virtual void Write(byte[] buffer, int offset, int count)