ByteArrayFormatQ
Listing of Formats »ByteArrayFormatQ[ba,"fmt"]
gives True if the ByteArray object ba might be imported as format "fmt" and gives False otherwise.
ByteArrayFormatQ[ba,{"fmt1","fmt2",…}]
gives True if ba might be imported as one of "fmti".
Details
- ByteArrayFormatQ attempts to identify whether a ByteArray object can be imported as a specific format.
- ByteArrayFormatQ uses heuristic methods and may not give correct results, particularly for shorter arrays.
- ByteArrayFormatQ does not verify that ImportByteArray would succeed if applied to ba.
Examples
Wolfram Research (2020), ByteArrayFormatQ, Wolfram Language function, https://reference.wolfram.com/language/ref/ByteArrayFormatQ.html.
Text
Wolfram Research (2020), ByteArrayFormatQ, Wolfram Language function, https://reference.wolfram.com/language/ref/ByteArrayFormatQ.html.
CMS
Wolfram Language. 2020. "ByteArrayFormatQ." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ByteArrayFormatQ.html.
APA
Wolfram Language. (2020). ByteArrayFormatQ. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ByteArrayFormatQ.html