public void PeerExchangeMessageDecode_Empty() { var data = new BEncodedDictionary().Encode(); var message = new PeerExchangeMessage(); message.Decode(data.AsSpan()); Assert.IsTrue(message.Added.IsEmpty, "#1"); Assert.IsTrue(message.AddedDotF.IsEmpty, "#2"); Assert.IsTrue(message.Dropped.IsEmpty, "#3"); }