Class ByteArrayContent

Class ByteArrayContent

Namespace: Aspose.Html.Net
Assembly: Aspose.HTML.dll (25.4.0)

Represents content based on a byte array.

[ComVisible(true)]
public class ByteArrayContent : Content, IDisposable

Inheritance

object Content ByteArrayContent

Derived

FormUrlEncodedContent , StringContent

Implements

IDisposable

Inherited Members

Content.SerializeToStream(Stream) , Content.ReadAsStream() , Content.ReadAsByteArray() , Content.ReadAsString() , Content.Dispose(bool) , Content.Dispose() , Content.Headers , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

ByteArrayContent(byte[])

Initializes a new instance of the Aspose.Html.Net.ByteArrayContent class.

public ByteArrayContent(byte[] content)

Parameters

content byte []

The content.

Methods

SerializeToStream(Stream)

Serializes to stream.

protected override void SerializeToStream(Stream stream)

Parameters

stream Stream

The stream.

 English