LiteNetLib.Utils.NetDataReader.GetDouble C# (CSharp) Method

GetDouble() public method

public GetDouble ( ) : double
return double
        public double GetDouble()
        {
            double result = BitConverter.ToDouble(_data, _position);
            _position += 8;
            return result;
        }

Usage Example

 public override void Read(T inf, NetDataReader r)
 {
     Setter(inf, r.GetDouble());
 }
All Usage Examples Of LiteNetLib.Utils.NetDataReader::GetDouble