Function advent_of_code_2021::day_16::parse_packet [−][src]
Expand description
Read the packet header (version: 3 bits, type: 3 bits). Then based of the type delegate the
parsing of the payload to either parse_literal or parse_sub_packets. Return the parsed
Packet and number of bits consumed
