public object GetValue(byte formatByte, ValueInfo valueInfo, byte[] contentBytes) { switch (formatByte) { case 0xca: return(NumericConverter.ToSingle(contentBytes)); case 0xcb: return(NumericConverter.ToDouble(contentBytes)); default: throw Exceptions.FormatByteNotSupported(formatByte); } }