{% macro render_match_name(match, first) -%} {{ match['name'] }}{% if not first %}
{{ match['size'] }} bytes @ {{ '0x%0X' % match['offset'] }} {% endif %}{% if match['decoded'] %}
[Decode]{% endif %}{% if match['img_data'] %} {% endif %} {%- endmacro %} {% macro render_match(match, first) -%}
  • {% if 'subEls' in match and match['subEls'] %} {% else %} {{ render_match_name(match, first) }} {% endif %}
  • {%- endmacro %}

    Loading…
    {% for i in range(math.ceil(math.log(input_bytes)/math.log(16))) %} {% endfor %}{% for col in range(16) %}{{ '%x' % col }}{% endfor %}
    {# {% for row in range(input_bytes // 16 + 1) %}
    {{ '%05x' % row }} {% for col in range(16) %}{{ input_file.read(1).hex() }}{% endfor %}
    {% endfor %} #}

    {#{% for row in range(input_bytes // 16 + 1) %}
    {% for col in range(16) %}{{ read_unicode() }}{% endfor %}
    {% endfor %}#}

    {% for match, decoded in decoded_matches() %}
    {% endfor %} {#
    {% for i, byte in read_unicode %}{{ byte|safe }}{% endfor %}
    #}