BinaryEncoding.Hex

BinaryEncoding.Hex (1) is an enumeration that specifies the type of binary encoding. It is a member of the BinaryEncoding.Type and specifies the use of hexadecimal encoding.

Examples

= Binary.FromText( "1011", BinaryEncoding.Hex ) // Returns binary with Hex Encoding
= Binary.From(     "1011", BinaryEncoding.Hex ) // Returns binary with Hex Encoding

// Turns binary into text with Hex Encoding, returns "010b0216"
= Binary.ToText( #binary( { 1, 11, 2, 22 } ), BinaryEncoding.Hex )

Other related enumerations are:

Applies to

Here’s a list of functions that work with BinaryEncoding.Type:

BI Gorilla Blog

Last update: August 17, 2023 | Contribute » | Contributors: Rick de Groot
© 2023 BI Gorilla. All rights reserved. Content derived from Microsoft documentation is property of Microsoft Corp.