MCPcopy Create free account
hub / github.com/arun11299/cpp-jwt / parse_msgpack_internal

Method parse_msgpack_internal

include/jwt/json/json.hpp:8767–9135  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

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