module Bencoding

Defined in:

bencoding.cr
bencoding/decode.cr
bencoding/encode.cr
bencoding/version.cr

Constant Summary

BYTE_ARRAY_DIVIDER = ':'
DICTIONARY_END = 'e'
DICTIONARY_START = 'd'
LIST_END = 'e'
LIST_START = 'l'
NUMBER_END = 'e'
NUMBER_START = 'i'
VERSION = "1.0.0"

Class Method Summary

Class Method Detail

def self.decode(str : String) #

[View source]
def self.decode(io : IO) #

[View source]
def self.encode(param) #

[View source]
def self.load_file(path : String) #

[View source]