ByteArrayFormatQ[ba,"fmt"]
ByteArrayFormatQ[ba,{"fmt1","fmt2",…}]
如果 ba 可能以 "fmti" 的格式之一导入,则返回 True.
ByteArrayFormatQ
格式列表 »ByteArrayFormatQ[ba,"fmt"]
ByteArrayFormatQ[ba,{"fmt1","fmt2",…}]
如果 ba 可能以 "fmti" 的格式之一导入,则返回 True.
更多信息
- ByteArrayFormatQ 尝试确定 ByteArray 对象是否可以以特定格式导入.
- ByteArrayFormatQ 使用启发式方法,可能无法给出正确的结果,尤其是对于较短的数组.
- ByteArrayFormatQ 如果是应用于 ba,则不会验证 ImportByteArray 是否成功.
相关指南
-
▪
- 导入和导出
文本
Wolfram Research (2020),ByteArrayFormatQ,Wolfram 语言函数,https://reference.wolfram.com/language/ref/ByteArrayFormatQ.html.
CMS
Wolfram 语言. 2020. "ByteArrayFormatQ." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/ByteArrayFormatQ.html.
APA
Wolfram 语言. (2020). ByteArrayFormatQ. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/ByteArrayFormatQ.html 年
BibTeX
@misc{reference.wolfram_2025_bytearrayformatq, author="Wolfram Research", title="{ByteArrayFormatQ}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/ByteArrayFormatQ.html}", note=[Accessed: 18-April-2026]}
BibLaTeX
@online{reference.wolfram_2025_bytearrayformatq, organization={Wolfram Research}, title={ByteArrayFormatQ}, year={2020}, url={https://reference.wolfram.com/language/ref/ByteArrayFormatQ.html}, note=[Accessed: 18-April-2026]}