int readInt(int offset) {
        return ((packet[offset] & 0xFF) << 24)
                | ((packet[offset + 1] & 0xFF) << 16)
                | ((packet[offset + 2] & 0xFF) << 8)
                | (packet[offset + 3] & 0xFF);
    }
An abstract header object for ip protocol packets, provides some common apis.

@author Megatron King
@since 2018-10-09 16:28
netbare-core/src/main/java/com/github/megatronking/netbare/ip/Header.java