Ejemplo n.º 1
0
 /// <summary>
 /// Creates a converter for changing data from the current
 /// Endian setting to the target Endian setting.
 /// </summary>
 public EndianConverter To(Endian target)
 {
     return(EndianConverter.Create(this != target));
 }
Ejemplo n.º 2
0
 static EndianConverter()
 {
     LinearCopier  = new EndianConverter(CopyLinear);
     ReverseCopier = new EndianConverter(CopyReverse);
 }