A GLOBSET is a set of GLOBCNT values that are typically reduced to GLOBCNT ranges.
コード例 #1
0
        /// <summary>
        /// Deserialize the stream.
        /// </summary>
        /// <param name="streamByte">data array in byte</param>
        /// <param name="startIndex">The startIndex in the data array</param>
        /// <returns>The size of this structure</returns>
        public int Deserialize(byte[] streamByte, int startIndex)
        {
            int index = startIndex;

            this.ReplGuid = new byte[ReplGuidLength];
            Array.Copy(streamByte, index, this.ReplGuid, 0, ReplGuidLength);
            index += this.ReplGuid.Length;
            byte[] globsetBytes = new byte[streamByte.Length - ReplGuidLength];
            Array.Copy(streamByte, index, globsetBytes, 0, globsetBytes.Length);
            this.Globset = new Globset(globsetBytes);
            return(this.Size());
        }
コード例 #2
0
        /// <summary>
        /// Deserialize the stream. 
        /// </summary>
        /// <param name="streamByte">data array in byte</param>
        /// <param name="startIndex">The startIndex in the data array</param>
        /// <returns>The size of this structure</returns>
        public int Deserialize(byte[] streamByte, int startIndex)
        {
            int index = startIndex;

            this.ReplGuid = new byte[ReplGuidLength];
            Array.Copy(streamByte, index, this.ReplGuid, 0, ReplGuidLength);
            index += this.ReplGuid.Length;
            byte[] globsetBytes = new byte[streamByte.Length - ReplGuidLength];
            Array.Copy(streamByte, index, globsetBytes, 0, globsetBytes.Length);
            this.Globset = new Globset(globsetBytes);
            return this.Size();
        }