MCPcopy Create free account
hub / github.com/dobin/RedEdr / parse_msgpack_internal

Method parse_msgpack_internal

RedEdrShared/json.hpp:10372–10741  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

10370 @return whether a valid MessagePack value was passed to the SAX parser
10371 */
10372 bool parse_msgpack_internal()
10373 {
10374 switch (get())
10375 {
10376 // EOF
10377 case char_traits<char_type>::eof():
10378 return unexpect_eof(input_format_t::msgpack, "value");
10379
10380 // positive fixint
10381 case 0x00:
10382 case 0x01:
10383 case 0x02:
10384 case 0x03:
10385 case 0x04:
10386 case 0x05:
10387 case 0x06:
10388 case 0x07:
10389 case 0x08:
10390 case 0x09:
10391 case 0x0A:
10392 case 0x0B:
10393 case 0x0C:
10394 case 0x0D:
10395 case 0x0E:
10396 case 0x0F:
10397 case 0x10:
10398 case 0x11:
10399 case 0x12:
10400 case 0x13:
10401 case 0x14:
10402 case 0x15:
10403 case 0x16:
10404 case 0x17:
10405 case 0x18:
10406 case 0x19:
10407 case 0x1A:
10408 case 0x1B:
10409 case 0x1C:
10410 case 0x1D:
10411 case 0x1E:
10412 case 0x1F:
10413 case 0x20:
10414 case 0x21:
10415 case 0x22:
10416 case 0x23:
10417 case 0x24:
10418 case 0x25:
10419 case 0x26:
10420 case 0x27:
10421 case 0x28:
10422 case 0x29:
10423 case 0x2A:
10424 case 0x2B:
10425 case 0x2C:
10426 case 0x2D:
10427 case 0x2E:
10428 case 0x2F:
10429 case 0x30:

Callers

nothing calls this directly

Calls 12

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