/// <summary>Read a <see cref="NormalizedUInt16"/>.</summary>
 /// <param name="reader"></param>
 /// <returns></returns>
 public static NormalizedUInt16 ReadNormalizedUInt16(this BinaryReader reader)
 {
     return(NormalizedUInt16.CreateCoded(reader.ReadUInt16()));
 }
Exemple #2
0
 /// <summary>Get the squared value of the input.</summary>
 public static NormalizedUInt16 Squared(this NormalizedUInt16 value)
 {
     return((NormalizedUInt16)(value * value));
 }