encoding: Added TlvStructureDecoder.
encoding: In TlvStructureDecoder, in READ_LENGTH_BYTES, make it more efficient since we know the number of bytes needed.