Sintaxe
M
Binary.FromText(text as nullable text, optional encoding as nullable number) as nullable binaryParâmetros
- textnullable textObrigatório
Texto a ser convertido em binário.
M"1011"- encodingnullable numberOpcional
Codificação usada no texto (
BinaryEncoding.Base64ouBinaryEncoding.Hex).
Retorna
nullable binaryExemplo
M
Binary.FromText("1011")Resultado
M
Binary.FromText("1011", BinaryEncoding.Base64)Mais informações
- Subgrupo
- Binary