protected UInt32 ReadHeader(PkgBinaryReader reader)
        {
            UInt32 numData      = reader.ReadUInt32();
            UInt32 bytesPerData = reader.ReadUInt32();

            return(numData);
        }
示例#2
0
        protected uint ReadHeader(PkgBinaryReader reader)
        {
            var numData = reader.ReadUInt32();

            _ = reader.ReadUInt32(); // bytesPerData
            return(numData);
        }
示例#3
0
        public override void Read(PkgBinaryReader reader)
        {
            var numData = ReadHeader(reader);

            for (var i = 0; i < numData; ++i)
            {
                values.Add(reader.ReadUInt32());
            }
        }
        public override void Read(PkgBinaryReader reader)
        {
            UInt32 dataLength = reader.ReadUInt32();

            strgData = new MemoryStream(reader.ReadBytes((int)dataLength));
        }