To() public method

Creates a converter for changing data from the current Endian setting to the target Endian setting.
public To ( Endian target ) : EndianConverter
target Endian
return EndianConverter
Exemplo n.º 1
0
 /// <summary>
 ///     Reads an 8-byte floating point value from the current stream and advances the current position of the stream by
 ///     eight bytes.
 /// </summary>
 /// <returns>
 ///     An 8-byte floating point value read from the current stream.
 /// </returns>
 public override double ReadDouble()
 {
     return(Endian.To(Endian.Native).Convert(_source.ReadDouble()));
 }