Class Hash
In: lib/bencode/encode/hash.rb
Parent: Object

Methods

bencode  

Public Instance methods

Bencodes the Hash object. Bencoded hashes are represented as dxe, where x is zero or a power of two bencoded objects. each key is immediately followed by its associated value. All keys must be strings. The keys of the bencoded hash will be in lexicographical order.

[Validate]