public LsClientPacket handle(ByteBuffer data,LoginServerConnection client){
  State state=client.getState();
  int id=data.get() & 0xff;
  return getPacket(state,id,data,client);
}

public LsClientPacket handle ( ByteBuffer data , LoginServerConnection client ) { State state = client . getState ( ) ; int id = data . get ( ) & 0xff ; return getPacket ( state , id , data , client ) ; }
reads one packet from given bytebuffer
