public static new CFFFDSelect3 Read(BinaryReaderFont reader) { CFFFDSelect3 value = new CFFFDSelect3 { format = reader.ReadByte(), nRanges = reader.ReadUInt16() }; value.Range3 = CFFRange3.ReadArray(reader, value.nRanges); value.sentinel = reader.ReadUInt16(); return value; }
public static CFFFDSelect Read(BinaryReaderFont reader) { CFFFDSelect fdSelect = null; byte format = reader.PeekByte(); switch (format) { case 0: fdSelect = CFFFDSelect0.Read(reader); break; case 3: fdSelect = CFFFDSelect3.Read(reader); break; } return(fdSelect); }