AddHexBinary

AddHexBinary 1:

This method adds a hex binary value to a property. Usually, a corresponding property was created beforehand with the method AddKey().

Syntax

METHOD AddHexBinary
VAR_INPUT
  pBytes : POINTER TO BYTE;
  nBytes : DINT;
END_VAR

AddHexBinary 2: Inputs

Name

Type

pBytes

POINTER TO BYTE

nBytes

DINT

Sample call:

fbJson.AddKey('HexBinary');
fbJson.AddHexBinary(ADR(byteHexBin), SIZEOF(byteHexBin));