public static void read(byte[] packet) { ByteBuffer buff = new ByteBuffer(packet); packet = null; buff.ReadD(); // OPCODE buff.SetIndex(28); string login = buff.ReadS(); client_controller.set_account(login.ToUpper()); }