Exemplo n.º 1
0
        private static bool OnSetWorkingDirectory(ByteArray byteArray, IFileServerService serverService)
        {
            String name = byteArray.readUTF();

            int crc = byteArray.readIntNCRC();

            if (crc == byteArray.CRC)
            {
                serverService.OnSetWorkingDirectory(name);
            }
            byteArray.Recycle();
            return(true);
        }