Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
bencoding
master
Bencoding
DecodeError
Decoder
Encoder
ObjectType
Built with Crystal 1.9.2
2023-10-07 21:21:24 UTC
class
Bencoding::Decoder
Bencoding::Decoder
Reference
Object
Defined in:
bencoding/decode.cr
Constructors
.new
(io : IO)
Class Method Summary
.from
(io : IO)
.from
(str : String)
Instance Method Summary
#decode
#decode_dictionary
#decode_list
#decode_next_object
#decode_number
#decode_string
#io
: IO
Constructor Detail
def self.
new
(io : IO)
#
[
View source
]
Class Method Detail
def self.
from
(io : IO)
#
[
View source
]
def self.
from
(str : String)
#
[
View source
]
Instance Method Detail
def
decode
#
[
View source
]
def
decode_dictionary
#
[
View source
]
def
decode_list
#
[
View source
]
def
decode_next_object
#
[
View source
]
def
decode_number
#
[
View source
]
def
decode_string
#
[
View source
]
def
io
: IO
#
[
View source
]