All 6 blocks are documented below, including compatibility blocks and blocks available through optional features. Select a block to read its behavior, arguments, default values, and menu choices. Each block has a permanent link.
store UTF-8 [TEXT] as binary [NAME] with MIME [MIME]
Copies UTF-8 encoded text into a project-scoped named binary value.
Block type: COMMAND. Opcode: createUtf8. Permanent link
| Argument | Type | Default value | Menu choices |
|---|
TEXT | STRING | Hello | |
|---|
NAME | STRING | message | |
|---|
MIME | STRING | text/plain; charset=utf-8 | |
|---|
binary [NAME] exists?
Reports whether a project-scoped named binary value exists.
Block type: BOOLEAN. Opcode: hasBinary. Permanent link
| Argument | Type | Default value | Menu choices |
|---|
NAME | STRING | message | |
|---|
delete binary [NAME]
Deletes a project-scoped named binary value.
Block type: COMMAND. Opcode: deleteBinary. Permanent link
| Argument | Type | Default value | Menu choices |
|---|
NAME | STRING | message | |
|---|
MIME type of binary [NAME]
Returns the MIME type of a named binary value.
Block type: REPORTER. Opcode: mimeType. Permanent link
| Argument | Type | Default value | Menu choices |
|---|
NAME | STRING | message | |
|---|
byte length of binary [NAME]
Returns the byte length of a named binary value.
Block type: REPORTER. Opcode: byteLength. Permanent link
| Argument | Type | Default value | Menu choices |
|---|
NAME | STRING | message | |
|---|
SHA-256 of binary [NAME]
Returns the SHA-256 digest of a named binary value.
Block type: REPORTER. Opcode: sha256. Permanent link
| Argument | Type | Default value | Menu choices |
|---|
NAME | STRING | message | |
|---|