Buffer
A binary buffer (file data)
Specification
codepage
Type:
StringThe semantic of the buffer
Examples
Basic buffer
A simple binary buffer field. You can use the toBinary() function to convert data to a binary format.

[
{
"name": "data",
"type": "buffer",
"label": "Data"
}
]
File input
When combined with the filename parameter, the buffer can be used for a file input dialog.

[
{
"name": "fileName",
"type": "filename",
"label": "File name",
"semantic": "file:name"
},
{
"name": "data",
"type": "buffer",
"label": "Data",
"semantic": "file:data"
}
]Last updated

