ExportByteArray
Listing of Formats »ExportByteArray[expr,"format"]
generates a ByteArray object corresponding to expr exported in the specified format.
ExportByteArray[exprs,elems]
generates a ByteArray object by treating exprs as elements specified by elems.
Details
- ExportByteArray handles a large number of formats, each typically with many different possible elements. The possible formats are given in the list $ExportFormats and in the "Listing of All Formats".
- ExportByteArray works just like Export, with the same element specifications and options.
Examples
open allclose allBasic Examples (2)
Scope (2)
Applications (2)
Properties & Relations (3)
ExportByteArray returns the same result as ExportString followed by StringToByteArray:
ExportByteArray returns the same result as Export followed by ReadByteArray:
If the export produces no data, an empty byte array is returned:
Text
Wolfram Research (2017), ExportByteArray, Wolfram Language function, https://reference.wolfram.com/language/ref/ExportByteArray.html.
CMS
Wolfram Language. 2017. "ExportByteArray." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ExportByteArray.html.
APA
Wolfram Language. (2017). ExportByteArray. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ExportByteArray.html