Promotic
Login logon

HexaString - text format of binary data

HexaString is an encoding that converts binary data to a text string, that contains only the characters 0-9, A-F.
Each byte of binary data is converted to a single two-digit hexadecimal number.
 
- The length of the resulting text string is always increased by 50%.
- The HexaString encoding is longer than the Base64 encoding, which usually only increases the length by 33%.


The usage in the PROMOTIC system:
- The PmBuffer.GetBase64String method serves to create a text string from binary data.
- The PmBuffer.SetBase64String method serves to create binary data from a text string.
PROMOTIC 9.0.33 SCADA system documentation MICROSYS, spol. s r.o.

Send page remark Contact responsible person
© MICROSYS, spol. s r.o.Update cookies preferences