private static URational32[] ReadRational(byte[] data, int count) { var values = new URational32[count]; for (int i = 0; i < count; i++) { values.SetValue(new URational32(data, i * 4), i); } return(values); }
public static void Add(this Page page, TagType tag, URational32 value) => page.Add(tag, FieldType.Rational, new URational32[] { value });