MCPcopy Create free account
hub / github.com/CalcProgrammer1/OpenRGB / parse_msgpack_internal

Method parse_msgpack_internal

dependencies/json/json.hpp:8836–9204  ·  view source on GitHub ↗

! @return whether a valid MessagePack value was passed to the SAX parser */

Source from the content-addressed store, hash-verified

8834 @return whether a valid MessagePack value was passed to the SAX parser
8835 */
8836 bool parse_msgpack_internal()
8837 {
8838 switch (get())
8839 {
8840 // EOF
8841 case std::char_traits<char_type>::eof():
8842 return unexpect_eof(input_format_t::msgpack, "value");
8843
8844 // positive fixint
8845 case 0x00:
8846 case 0x01:
8847 case 0x02:
8848 case 0x03:
8849 case 0x04:
8850 case 0x05:
8851 case 0x06:
8852 case 0x07:
8853 case 0x08:
8854 case 0x09:
8855 case 0x0A:
8856 case 0x0B:
8857 case 0x0C:
8858 case 0x0D:
8859 case 0x0E:
8860 case 0x0F:
8861 case 0x10:
8862 case 0x11:
8863 case 0x12:
8864 case 0x13:
8865 case 0x14:
8866 case 0x15:
8867 case 0x16:
8868 case 0x17:
8869 case 0x18:
8870 case 0x19:
8871 case 0x1A:
8872 case 0x1B:
8873 case 0x1C:
8874 case 0x1D:
8875 case 0x1E:
8876 case 0x1F:
8877 case 0x20:
8878 case 0x21:
8879 case 0x22:
8880 case 0x23:
8881 case 0x24:
8882 case 0x25:
8883 case 0x26:
8884 case 0x27:
8885 case 0x28:
8886 case 0x29:
8887 case 0x2A:
8888 case 0x2B:
8889 case 0x2C:
8890 case 0x2D:
8891 case 0x2E:
8892 case 0x2F:
8893 case 0x30:

Callers

nothing calls this directly

Calls 11

getFunction · 0.70
get_token_stringFunction · 0.70
createFunction · 0.70
number_unsignedMethod · 0.45
stringMethod · 0.45
nullMethod · 0.45
booleanMethod · 0.45
binaryMethod · 0.45
number_floatMethod · 0.45
number_integerMethod · 0.45
parse_errorMethod · 0.45

Tested by

no test coverage detected