BitSharp.Network.NetworkEncoder.DecodeNetworkAddressWithTime C# (CSharp) Method

DecodeNetworkAddressWithTime() public static method

public static DecodeNetworkAddressWithTime ( BinaryReader reader ) : NetworkAddressWithTime
reader System.IO.BinaryReader
return NetworkAddressWithTime
        public static NetworkAddressWithTime DecodeNetworkAddressWithTime(BinaryReader reader)
        {
            return new NetworkAddressWithTime
            (
                Time: DateTimeOffset.FromUnixTimeSeconds(reader.ReadUInt32()),
                NetworkAddress: DecodeNetworkAddress(reader)
            );
        }

Same methods

NetworkEncoder::DecodeNetworkAddressWithTime ( byte bytes ) : NetworkAddressWithTime