Appearance
@keymaster/connect / BinaryField
Interface: BinaryField
Properties overview
| Property | Type | Required | Description |
|---|---|---|---|
$type | "binary" | Yes | 固定 "binary"。 |
bytes | ArrayBuffer | Yes | 真实字节;structured clone 会原样传过去。 |
mime? | string | No | 可选的内容类型;密文 / 图片 / 文件等有明确类型时填写。 |
Properties
$type
$type:
"binary"
固定 "binary"。缺省 / 其它值一律拒绝。
bytes
bytes:
ArrayBuffer
真实字节;structured clone 会原样传过去。
mime?
optionalmime?:string
可选的内容类型;密文 / 图片 / 文件等有明确类型时填写。