PresentationConnection.binaryType - Web APIs 编辑
When a PresentationConnection
object is created, its binaryType
IDL attribute MUST be set to the string "arraybuffer"
. Upon getting, the attribute MUST return its most recent value (the value it was last set as). Upon setting, the user agent MUST set the IDL attribute to the new value.
Note: The binaryType
attribute allows authors to control how binary data is exposed to scripts. By setting the attribute to "blob"
, binary data is returned in Blob
form; by setting it to "arraybuffer"
, it is returned in ArrayBuffer
form. The attribute defaults to "arraybuffer"
. This attribute has no effect on data sent in a string form.
Browser compatibility
BCD tables only load in the browser
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论