System::Net::Http::ByteArrayContent class
Contents
[
Hide
]ByteArrayContent class
Represents HTTP content as a byte array. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
class ByteArrayContent : public System::Net::Http::HttpContent
Methods
Method | Description |
---|---|
ByteArrayContent(System::ArrayPtr<uint8_t>) | RTTI information. |
ByteArrayContent(System::ArrayPtr<uint8_t>, int32_t, int32_t) | Constructs a new instance. |
TryComputeLength(int64_t&) override | Tries to calculate the byte array length. |
Fields
Field | Description |
---|---|
static DefaultStringEncoding | The default encoding. |
static MaxBufferSize | The maximum number of bytes. |
See Also
- Class HttpContent
- Namespace System::Net::Http
- Library Aspose.PDF for C++