public NetworkAddress ReadNetworkAddress() { NetworkAddress result = new NetworkAddress(); var innerReader = new SequenceReader <byte>(this.reader.Sequence.Slice(this.reader.Position, result.Length)); result.Deserialize(innerReader); this.reader.Advance(innerReader.Consumed); return(result); }