public EmfPlusRecord(MetafileReader reader) : base(reader) { Type = (RecordType)reader.ReadUInt16(); Flags = reader.ReadUInt16(); Size = reader.ReadUInt32(); DataSize = reader.ReadUInt32(); }
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); }