Method: TLV::TLV.parse
- Defined in:
- lib/tlv/parse.rb
.parse(bytes) ⇒ Object
return [tlv, rest], the parsed TLV and any leftover bytes.
4 5 6 7 |
# File 'lib/tlv/parse.rb', line 4 def self.parse bytes tlv, _ = self._parse bytes return tlv end |