Skip to content

toBytes

toBytes(binary) → array · Binary

Convert binary data to an array of byte values (0-255).

  • binary (required): binary data
utlx
toBytes(toBinary("AB", "UTF-8"))         // [65, 66]

Released under AGPL-3.0.