public static int GetSegmentSizeByVersion(PFFVersion version) { switch (version) { //case PFFVersion.PFF1: return 0; case PFFVersion.PFF2: return 0x20; case PFFVersion.PFF3: return 0x24; case PFFVersion.PFF4: return 0x28; default: return 0; } }
public static int GetSegmentSizeByVersion(PFFVersion version) { switch (version) { //case PFFVersion.PFF1: return 0; case PFFVersion.PFF2: return(0x20); case PFFVersion.PFF3: return(0x24); case PFFVersion.PFF4: return(0x28); default: return(0); } }
public PFFHeader() { Version = PFFVersion.Unknown; }