com.aspose.html.net

Class ByteArrayContent

  • All Implemented Interfaces:
    com.aspose.ms.System.IDisposable
    Direct Known Subclasses:
    FormUrlEncodedContent, StringContent


    public class ByteArrayContent
    extends Content

    Represents content based on a byte array.

    • Constructor Detail

      • ByteArrayContent

        public ByteArrayContent(byte[] content)

        Initializes a new instance of the ByteArrayContent class.

        Parameters:
        content - The content.
    • Method Detail

      • serializeToStream

        protected void serializeToStream(com.aspose.ms.System.IO.Stream stream)

        Serializes to stream.

        Specified by:
        serializeToStream in class Content
        Parameters:
        stream - The stream.