Module: CBOR_DIAG::StringPart6

Defined in:
lib/cbor-diag-parser.rb

Instance Method Summary collapse

Instance Method Details

#partvalObject



1138
1139
# File 'lib/cbor-diag-parser.rb', line 1138

def partval; (((s.text_value.to_i(16) & 0x3FF) << 10) +
(t.text_value.to_i(16) & 0x3FF) + 0x10000).chr(Encoding::UTF_8).b end