/// <summary>Read a <see cref="NormalizedInt32"/>.</summary> /// <param name="reader"></param> /// <returns></returns> public static NormalizedInt32 ReadNormalizedInt32(this BinaryReader reader) { return(NormalizedInt32.CreateCoded(reader.ReadInt32())); }
/// <summary>Get the squared value of the input.</summary> public static NormalizedInt32 Squared(this NormalizedInt32 value) { return((NormalizedInt32)(value * value)); }