byte opcode[] = { datagram[header_size-2], datagram[header_size-1] }; ByteBuffer bb = ByteBuffer.wrap(opcode); return (bb.getShort() == Opcode.HELLO);
return Opcode.isHello(getOpcode(datagram));
    public static boolean isHelloDatagram(byte [] datagram)    {	byte opcode[] = { datagram[header_size-2], datagram[header_size-1] };	ByteBuffer bb = ByteBuffer.wrap(opcode);	return (bb.getShort() == Opcode.HELLO);    }