ByteArrayResult class

ByteArrayResult class

Represents operation result in the form of the bytes array.

The ByteArrayResult type exposes the following members:

Properties

NameDescription
is_fileIndicates whether the result is a path to an output file.
is_streamIndicates whether the result is an output stream.
is_stringIndicates whether the result is a text string.
is_byte_arrayIndicates whether the result is a byte array.
dataGets raw data.

Methods

NameDescription
to_file()Tries to convert the result to a file.
to_stream()Tries to convert the result to a stream object.

See Also