BencodeEditor/Bencoding encoder and decoder.cs
/// <summary>
/// Generates the bencoded equivalent of the string.
/// </summary>
/// <param name="u">The StringBuilder to append to.</param>
/// <returns>The bencoded equivalent of the string.</returns>
Generates the bencoded equivalent of the string.
Generates the bencoded equivalent of the string .
public StringBuilder ToBencodedString(StringBuilder u)
		{
			if (u == null) u = new StringBuilder(this.Value.Length);
			else u.Append(this.Value.Length);
			return u.Append(':').Append(this.Value);
		}
public StringBuilder ToBencodedString ( StringBuilder u ) { if ( u == null ) u = new StringBuilder ( this . Value . Length ) ; else u . Append ( this . Value . Length ) ; return u . Append ( ' ' ) . Append ( this . Value ) ; }
Generates the bencoded equivalent of the string.
Generates the bencoded equivalent of the string .
The bencoded equivalent of the string.
The bencoded equivalent of the string .
u
StringBuilder
The StringBuilder to append to.
The StringBuilder to append to .