MCPcopy Create free account
hub / github.com/ErrorAtLine0/infinipaint / parse_msgpack_internal

Method parse_msgpack_internal

include/nlohmann/json.hpp:10980–11349  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

10978 @return whether a valid MessagePack value was passed to the SAX parser
10979 */
10980 bool parse_msgpack_internal()
10981 {
10982 switch (get())
10983 {
10984 // EOF
10985 case char_traits<char_type>::eof():
10986 return unexpect_eof(input_format_t::msgpack, "value");
10987
10988 // positive fixint
10989 case 0x00:
10990 case 0x01:
10991 case 0x02:
10992 case 0x03:
10993 case 0x04:
10994 case 0x05:
10995 case 0x06:
10996 case 0x07:
10997 case 0x08:
10998 case 0x09:
10999 case 0x0A:
11000 case 0x0B:
11001 case 0x0C:
11002 case 0x0D:
11003 case 0x0E:
11004 case 0x0F:
11005 case 0x10:
11006 case 0x11:
11007 case 0x12:
11008 case 0x13:
11009 case 0x14:
11010 case 0x15:
11011 case 0x16:
11012 case 0x17:
11013 case 0x18:
11014 case 0x19:
11015 case 0x1A:
11016 case 0x1B:
11017 case 0x1C:
11018 case 0x1D:
11019 case 0x1E:
11020 case 0x1F:
11021 case 0x20:
11022 case 0x21:
11023 case 0x22:
11024 case 0x23:
11025 case 0x24:
11026 case 0x25:
11027 case 0x26:
11028 case 0x27:
11029 case 0x28:
11030 case 0x29:
11031 case 0x2A:
11032 case 0x2B:
11033 case 0x2C:
11034 case 0x2D:
11035 case 0x2E:
11036 case 0x2F:
11037 case 0x30:

Callers

nothing calls this directly

Calls 12

get_token_stringFunction · 0.85
createFunction · 0.85
getFunction · 0.70
concatFunction · 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