Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d857ab3d8645e685c006e314ff8ef3674c311070
Ticket: b98fa55285ce197ef7bd119e4e937b78be77af4a
binary decode hex loses a byte in a file with whitespaces
User & Date: anonymous on 2013-07-05 03:55:08
Changes

  1. comment changed to:
    The attached hex string has a few whitespaces in it.
    
    Notice that it ends with two bytes: 0000. However, after passing this string to 'binary decode hex', the last 00 bytes gets lost in my machine. It is always reproducible. If I remove the whitespaces (including line endings) from the string, this doesn't happen: I get the two 00 bytes at the end (expected behavior).
    
  2. login: "anonymous"
  3. mimetype: "text/plain"