int function ( ) { int loc0 = 0 ; for ( Field < ? > loc1 : PREAMBLE_FIELDS ) { loc0 += loc1 . getLength ( ) ; } return loc0 ; }
calculates the length of the packet header , defined as the sum of the lengths of all defined fields see #preamble_fields . concode_field_sep int packetType concode_elem_sep Field<ByteBuffer> FIELD_RESERVED_2 concode_elem_sep Field<ByteBuffer> FIELD_RESERVED_1 concode_elem_sep Field<Integer> FIELD_SEQUENCE concode_elem_sep long source concode_elem_sep MACAddress target concode_elem_sep int ackbyte concode_elem_sep Field<Integer> FIELD_ACK concode_elem_sep long timeStamp concode_elem_sep Field<MACAddress> FIELD_TARGET concode_elem_sep int sequence concode_elem_sep int protocol concode_elem_sep int size concode_elem_sep Field<Integer> FIELD_PACKET_TYPE concode_elem_sep ByteBuffer reserved3 concode_elem_sep Field<Long> FIELD_SOURCE concode_elem_sep ByteBuffer reserved2 concode_elem_sep Field<ByteBuffer> FIELD_RESERVED_3 concode_elem_sep ByteBuffer reserved1 concode_elem_sep Field<?>[] PREAMBLE_FIELDS concode_elem_sep Field<Integer> FIELD_SIZE concode_elem_sep Field<Integer> FIELD_PROTOCOL concode_field_sep void setSequence concode_elem_sep void parsePreamble concode_elem_sep boolean isExpectedResponse concode_elem_sep void setSource concode_elem_sep void setResponseRequired concode_elem_sep boolean isFulfilled concode_elem_sep void setPacketType concode_elem_sep void setOrigin concode_elem_sep void setProtocol concode_elem_sep void preambleDefaults concode_elem_sep MACAddress getTarget concode_elem_sep ByteBuffer getReserved1 concode_elem_sep void setReserved1 concode_elem_sep void setSize concode_elem_sep ByteBuffer getReserved3 concode_elem_sep ByteBuffer getReserved2 concode_elem_sep void setAckRequired concode_elem_sep void setTarget concode_elem_sep ByteBuffer packetBytes concode_elem_sep int getPacketType concode_elem_sep boolean getAddressable concode_elem_sep void setReserved3 concode_elem_sep void setReserved2 concode_elem_sep int packetType concode_elem_sep int getOrigin concode_elem_sep void setAddressable concode_elem_sep int length concode_elem_sep int getProtocol concode_elem_sep void setTagged concode_elem_sep void parse concode_elem_sep int[] expectedResponses concode_elem_sep boolean getResponseRequired concode_elem_sep int getSize concode_elem_sep boolean getTagged concode_elem_sep long getTimeStamp concode_elem_sep int packetLength concode_elem_sep long getSource concode_elem_sep ByteBuffer bytes concode_elem_sep ByteBuffer preambleBytes concode_elem_sep boolean getAckRequired concode_elem_sep void parsePacket concode_elem_sep int getSequence