parameters: (self, tlv, decoding)
docstring: UTF-8 or Byte StringLength fields are encoded in 0, 1, 2 or 4 byte widths, as specified by
           the element type field. If the element type needs a length field grab the next bytes as length
docstring_summary: UTF-8 or Byte StringLength fields are encoded in 0, 1, 2 or 4 byte widths, as specified by
           the element type field. If the element type needs a length field grab the next bytes as length
docstring_tokens: UTF - 8 or Byte StringLength fields are encoded in 0 1 2 or 4 byte widths as specified by the element type field . If the element type needs a length field grab the next bytes as length
function: def _decodeStrLength(self, tlv, decoding):
          """UTF-8 or Byte StringLength fields are encoded in 0, 1, 2 or 4 byte widths, as specified by
           the element type field. If the element type needs a length field grab the next bytes as length"""
          if "length" in decoding["type"]:
              if "1-byte" in decoding["type"]:
                  decoding["strDataLen"], = struct.unpack("<B", tlv[self._bytesRead:self._bytesRead+1])
                  decoding["strDataLenLen"] = 1
                  self._bytesRead += 1
              elif "2-byte" in decoding["type"]:
                  decoding["strDataLen"], = struct.unpack("<H", tlv[self._bytesRead:self._bytesRead+2])
                  decoding["strDataLenLen"] = 2
                  self._bytesRead += 2
              elif "4-byte" in decoding["type"]:
                  decoding["strDataLen"], = struct.unpack("<L", tlv[self._bytesRead:self._bytesRead+4])
                  decoding["strDataLenLen"] = 4
                  self._bytesRead += 4
              elif "8-byte" in decoding["type"]:
                  decoding["strDataLen"], = struct.unpack("<Q", tlv[self._bytesRead:self._bytesRead+8])
                  decoding["strDataLenLen"] = 8
                  self._bytesRead += 8
          else:
              decoding["strDataLen"]= 0
              decoding["strDataLenLen"] = 0
function_tokens: def _decodeStrLength ( self , tlv , decoding ) : if "length" in decoding [ "type" ] : if "1-byte" in decoding [ "type" ] : decoding [ "strDataLen" ] , = struct . unpack ( "<B" , tlv [ self . _bytesRead : self . _bytesRead + 1 ] ) decoding [ "strDataLenLen" ] = 1 self . _bytesRead += 1 elif "2-byte" in decoding [ "type" ] : decoding [ "strDataLen" ] , = struct . unpack ( "<H" , tlv [ self . _bytesRead : self . _bytesRead + 2 ] ) decoding [ "strDataLenLen" ] = 2 self . _bytesRead += 2 elif "4-byte" in decoding [ "type" ] : decoding [ "strDataLen" ] , = struct . unpack ( "<L" , tlv [ self . _bytesRead : self . _bytesRead + 4 ] ) decoding [ "strDataLenLen" ] = 4 self . _bytesRead += 4 elif "8-byte" in decoding [ "type" ] : decoding [ "strDataLen" ] , = struct . unpack ( "<Q" , tlv [ self . _bytesRead : self . _bytesRead + 8 ] ) decoding [ "strDataLenLen" ] = 8 self . _bytesRead += 8 else : decoding [ "strDataLen" ] = 0 decoding [ "strDataLenLen" ] = 0