Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
tlv
master
TLV
Constants
Boolean
Control
Description
Generic
IntegerSize
Type
Field
Helpers
ListForm
PathContainer
Reader
Serializable
Tag
Value
Writer
Generated using Crystal 1.16.3
2025-11-16 18:33:12 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
]