#pragma warning disable 1591 protected override void EncodeObject(BencodeStream stream) { stream.Write('l'); foreach (var item in this) { item.EncodeTo(stream); } stream.Write('e'); }
#pragma warning disable 1591 protected override void EncodeObject(BencodeStream stream) { stream.Write('d'); foreach (var kvPair in this) { kvPair.Key.EncodeTo(stream); kvPair.Value.EncodeTo(stream); } stream.Write('e'); }
#pragma warning disable 1591 protected override void EncodeObject(BencodeStream stream) { stream.Write(_value.Length); stream.Write(':'); stream.Write(_value); }
#pragma warning disable 1591 protected override void EncodeObject(BencodeStream stream) { stream.Write('i'); stream.Write(Value); stream.Write('e'); }