示例#1
0
 /// <summary>Read a <see cref="NormalizedUInt32"/>.</summary>
 /// <param name="reader"></param>
 /// <returns></returns>
 public static NormalizedUInt32 ReadNormalizedUInt32(this BinaryReader reader)
 {
     return(NormalizedUInt32.CreateCoded(reader.ReadUInt32()));
 }
示例#2
0
 /// <summary>Get the squared value of the input.</summary>
 public static NormalizedUInt32 Squared(this NormalizedUInt32 value)
 {
     return((NormalizedUInt32)(value * value));
 }