Class Bencoding
- java.lang.Object
-
- org.johnnei.javatorrent.bittorrent.encoding.Bencoding
-
public class Bencoding extends Object
A decoder for Bencoding.- See Also:
IBencodedValue
-
-
Constructor Summary
Constructors Constructor Description Bencoding()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IBencodedValuedecode(InStream inStream)Decodes the given string reader into the bencoded data structure.
-
-
-
Method Detail
-
decode
public IBencodedValue decode(InStream inStream)
Decodes the given string reader into the bencoded data structure.- Parameters:
inStream- The stream containing the string input.- Returns:
- The bencoded data structure.
-
-