class Bencoding::Builder

Defined in:

bencoding/builder.cr

Constructors

Instance Method Summary

Instance methods inherited from class Object

bencode(builder : Bencoding::Builder)
bencode : String
bencode

Constructor methods inherited from class Object

bdecode(io : IO) : self
bdecode(string : String) : self
bdecode

Constructor Detail

def self.new(io : IO) #

[View source]

Instance Method Detail

def dictionary(&) #

[View source]
def field(name, value) #

[View source]
def field(name, &) #

[View source]
def flush #

[View source]
def integer(value : Int) #

[View source]
def list(&) #

[View source]
def string(value) #

[View source]