/// <summary> /// Returns a reference to the output stream. /// </summary> /// <returns> /// A <see cref="Stream"/> that contains a reference to the output stream. /// </returns> public Stream GetOutputStream() => new MemoryStream(OutputStream.AsByteArray());