示例#1
0
 public EmfPlusRecord(MetafileReader reader) : base(reader)
 {
     Type     = (RecordType)reader.ReadUInt16();
     Flags    = reader.ReadUInt16();
     Size     = reader.ReadUInt32();
     DataSize = reader.ReadUInt32();
 }
示例#2
0
        public static IEnumerable <ushort> ReadUInt16s(MetafileReader reader, uint count)
        {
            var ushorts = new ushort[count];

            for (uint i = 0; i < count; i++)
            {
                ushorts[i] = reader.ReadUInt16();
            }
            return(ushorts);
        }