BinaryFormat.Transform

This function returns a binary format that can convert values read by another binary format. The binaryFormat parameter indicates the specific binary format that will be utilized to read the value. Up...

Syntax

BinaryFormat.Transform(binaryFormat as function, function as function) as function

About

This function returns a binary format that can convert values read by another binary format. The binaryFormat parameter indicates the specific binary format that will be utilized to read the value. Upon invocation of the function, the read value is processed and the transformed value is returned.

Explanation

Retrieve a single binary byte and increase its value by one using Power Query Mlet. The code will transform the binary data by applying a function that adds one to each byte. The result will be an output of 2.