1 2 3 4 5 6 7 8 9 10 11 12 13
class_name PacketChunk # set to 0 if variable length #const BYTE_LENGTH := 0 var byte_length: int = 0: get = get_byte_length ## Override if packet has variable length. func get_byte_length() -> int: return self.BYTE_LENGTH