From the "binary file dump" example at page 199: for _, b in pairs{string.byte(bytes, 1, -1)} do Shouldn't it be "ipairs" to guarantee the correct traversal order? Enrico