class AdventOfCode2021::Day16::Packet

Defined in:

day16/day16.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(hex_str : String) #

[View source]
def self.new(bits : BitArray) #

[View source]

Instance Method Detail

def bits : BitArray #

[View source]
def last_bit : Int32 #

[View source]

[View source]
def literal : Int64 #

[View source]
def packet_count : Int32 #

[View source]
def packet_total : Int32 #

[View source]
def subpackets : Array(Packet) | Nil #

[View source]
def sum_version #

[View source]

[View source]
def value : Int64 #

[View source]
def version : Int32 #

[View source]