Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
Syntax
Binary.Range(
binary as binary,
offset as number,
optional count as nullable number
) as binary
About
Returns a subset of the binary value beginning at the offset binary. An optional parameter, offset, sets the maximum length of the subset.
Example 1
Returns a subset of the binary value starting at offset 6.
Usage
Binary.Range(#binary({0..10}), 6)
Output
#binary({6, 7, 8, 9, 10})
Example 2
Returns a subset of length 2 from offset 6 of the binary value.
Usage
Binary.Range(#binary({0..10}), 6, 2)
Output
#binary({6, 7})