Sintaxe
M
BinaryFormat.Record(record as record) as functionParâmetros
- recordrecordObrigatório
Registro que define o formato binário de cada campo.
M[A = BinaryFormat.UnsignedInteger16, B = BinaryFormat.UnsignedInteger32]
Retorna
functionExemplo
M
let
binaryData = #binary({
0x00, 0x01,
0x00, 0x00, 0x00, 0x02
}),
recordFormat = BinaryFormat.Record([
A = BinaryFormat.UnsignedInteger16,
B = BinaryFormat.UnsignedInteger32
])
in
recordFormat(binaryData)Resultado
M
[A = 1, B = 2]Mais informações
- Subgrupo
- BinaryFormat