Convert a Buffer to a value based on type.
data to convert.
how to interpret the data.
Optional
optional multiplier for numeric types.
converted data.
Convert a Buffer to a value based on type.