Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
tlv
master
TLV
Constants
Boolean
Control
Description
Generic
IntegerSize
Type
Field
Reader
Serializable
Tag
Value
Writer
Generated using Crystal 1.14.0
2024-11-26 09:38:38 UTC
class
TLV::
Reader
TLV::Reader
Reference
Object
Defined in:
tlv/reader.cr
Constructors
.new
(data : Slice(UInt8), byte_format : IO::ByteFormat =
IO
::
ByteFormat
::
LittleEndian
)
Instance Method Summary
#byte_format
: IO::ByteFormat
#bytes_read
: Int32
#decodings
: Array(Value)
#get
#io
: IO::Memory
Constructor Detail
def self.
new
(data : Slice(UInt8), byte_format : IO::ByteFormat =
IO
::
ByteFormat
::
LittleEndian
)
#
[
View source
]
Instance Method Detail
def
byte_format
: IO::ByteFormat
#
[
View source
]
def
bytes_read
: Int32
#
[
View source
]
def
decodings
: Array(
Value
)
#
[
View source
]
def
get
#
[
View source
]
def
io
: IO::Memory
#
[
View source
]