encoding: In TlvDecoder, added getOffset().