Beispiel #1
0
        public static ChapterCompress BytesToChaptercompress(byte[] bytes)
        {
            ChapterCompress compress = new ChapterCompress();
            int             offset   = 0;

            compress.offset = GetInt32(4, ref offset, bytes);
            compress.length = GetInt32(4, ref offset, bytes);
            return(compress);
        }
Beispiel #2
0
        public static ChapterCompress BytesToChaptercompress(byte[] bytes)
        {
            ChapterCompress result = default(ChapterCompress);
            int             num    = 0;

            result.offset = BytesToStruct.GetInt32(4, ref num, bytes);
            result.length = BytesToStruct.GetInt32(4, ref num, bytes);
            return(result);
        }