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