System.BinaryData
Creates a BinaryData instance by wrapping the provided byte array and sets MediaType to value.
Creates a BinaryData instance by wrapping the provided bytes and sets MediaType to value.
Creates a BinaryData instance from a string by converting the string to bytes using the UTF-8 encoding and sets MediaType to value.
Creates a BinaryData instance by wrapping the provided ReadOnlyMemory<T> and sets MediaType to value.
Creates a BinaryData instance by wrapping the provided byte array and sets MediaType to value.
Creates a BinaryData instance from the specified file and sets MediaType to value.
Creates a BinaryData instance from the specified file and sets MediaType to value.
Creates a BinaryData instance from the specified stream and sets MediaType to value.
The stream is not disposed by this method.
Creates a BinaryData instance from the specified stream and sets MediaType to value.
The stream is not disposed by this method.
Creates a BinaryData instance from a string by converting the string to bytes using the UTF-8 encoding and sets MediaType to value.
Creates a BinaryData instance by wrapping the same data and changed MediaType to value.