internal override IFreeformEntity ParseBufferInternal(ref IFreeformEntity entity, IFreeformEntity rootEntity, int id, byte[] buffer)
 {
     FFTgt_H2G_CodeDownload_FileDownload tgt = new FFTgt_H2G_CodeDownload_FileDownload();
     tgt.FileType = buffer[0].GetAppId<FF_GmuId_FileDownloadFileType, FF_AppId_FileDownloadFileType>();
     tgt.Length = FreeformHelper.GetBytesToNumberInt32(buffer, 1, 4);
     tgt.CompressedFile = buffer.CopyToBuffer(5, tgt.Length);
     tgt.CRC = FreeformHelper.GetValue<short>(buffer, tgt.Length + 5, 2);
     return tgt;
 }
        internal override IFreeformEntity ParseBufferInternal(ref IFreeformEntity entity, IFreeformEntity rootEntity, int id, byte[] buffer)
        {
            FFTgt_H2G_CodeDownload_FileDownload tgt = new FFTgt_H2G_CodeDownload_FileDownload();

            tgt.FileType       = buffer[0].GetAppId <FF_GmuId_FileDownloadFileType, FF_AppId_FileDownloadFileType>();
            tgt.Length         = FreeformHelper.GetBytesToNumberInt32(buffer, 1, 4);
            tgt.CompressedFile = buffer.CopyToBuffer(5, tgt.Length);
            tgt.CRC            = FreeformHelper.GetValue <short>(buffer, tgt.Length + 5, 2);
            return(tgt);
        }