Skip to content

binaryLength

binaryLength(binary) → number · Binary

Get the length of a binary value in bytes.

  • binary (required): binary data
utlx
{
  sizeBytes: binaryLength(toBinary($input.content, "UTF-8"))
}

Released under AGPL-3.0.