Exemple #1
0
        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);
        }
Exemple #2
0
 public static void Add(this Page page, TagType tag, URational32 value)
 => page.Add(tag, FieldType.Rational, new URational32[] { value });