예제 #1
0
        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());
            }
        }
예제 #4
0
        public override void Read(PkgBinaryReader reader)
        {
            UInt32 dataLength = reader.ReadUInt32();

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