Class ByteArrayResult

ByteArrayResult class

Represents operation result in the form of the bytes array.

public sealed class ByteArrayResult : IOperationResult

Properties

NameDescription
Data { get; }Gets raw data.
IsByteArray { get; }Indicates whether the result is a byte array.
IsFile { get; }Indicates whether the result is a path to an output file.
IsStream { get; }Indicates whether the result is an output stream.
IsString { get; }Indicates whether the result is a text string.

Methods

NameDescription
ToFile()Tries to convert the result to a file.
ToStream()Tries to convert the result to a stream object.

See Also