setTLV function

TLVModel setTLV(
  1. String v,
  2. String id
)

set tlv value

Implementation

TLVModel setTLV(String v, String id) {
  TLVModel tlv = TLVModel(tag: id, length: getValueLength(v), value: v);
  return tlv;
}