module Bencoding module String def to_bencoding length.to_s+":"+self end end end