parse


Description:

[ Version ( since = "5.0.0" ) ]
public static Scalar? parse (DataType data_type, uint8[] data) throws Error

Parameters:

data_type

A DataType for the parsed scalar.

data

Data to be parsed.

size

The number of bytes of the data.

Returns:

A newly created Scalar if the data is parsed successfully, null otherwise.