Sintaxe
M
BinaryFormat.Text(length as any, optional encoding as nullable number) as functionParâmetros
- lengthanyObrigatório
Número de bytes a decodificar ou formato binário do comprimento que precede o texto.
M2- encodingnullable numberOpcional
Codificação do texto.
MTextEncoding.Ascii
Retorna
functionExemplo
M
let
binaryData = #binary({65, 66, 67}),
textFormat = BinaryFormat.Text(2, TextEncoding.Ascii)
in
textFormat(binaryData)Resultado
M
"AB"Mais informações
- Subgrupo
- BinaryFormat