MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / parse_msgpack_internal

Method parse_msgpack_internal

Source/Utils/json.hpp:8766–9134  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

8764 @return whether a valid MessagePack value was passed to the SAX parser
8765 */
8766 bool parse_msgpack_internal()
8767 {
8768 switch (get())
8769 {
8770 // EOF
8771 case std::char_traits<char_type>::eof():
8772 return unexpect_eof(input_format_t::msgpack, "value");
8773
8774 // positive fixint
8775 case 0x00:
8776 case 0x01:
8777 case 0x02:
8778 case 0x03:
8779 case 0x04:
8780 case 0x05:
8781 case 0x06:
8782 case 0x07:
8783 case 0x08:
8784 case 0x09:
8785 case 0x0A:
8786 case 0x0B:
8787 case 0x0C:
8788 case 0x0D:
8789 case 0x0E:
8790 case 0x0F:
8791 case 0x10:
8792 case 0x11:
8793 case 0x12:
8794 case 0x13:
8795 case 0x14:
8796 case 0x15:
8797 case 0x16:
8798 case 0x17:
8799 case 0x18:
8800 case 0x19:
8801 case 0x1A:
8802 case 0x1B:
8803 case 0x1C:
8804 case 0x1D:
8805 case 0x1E:
8806 case 0x1F:
8807 case 0x20:
8808 case 0x21:
8809 case 0x22:
8810 case 0x23:
8811 case 0x24:
8812 case 0x25:
8813 case 0x26:
8814 case 0x27:
8815 case 0x28:
8816 case 0x29:
8817 case 0x2A:
8818 case 0x2B:
8819 case 0x2C:
8820 case 0x2D:
8821 case 0x2E:
8822 case 0x2F:
8823 case 0x30:

Callers

nothing calls this directly

Calls 11

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