local formatString = string.format("H%d", string.len(block))
local _,hex = bin.unpack(formatString,block)
- file:write(hex)
- file:write(0x0A) -- Line feed
+ file:write(hex.."\n")
end
file:close()
return destination
-- NDEF compliant?
if b3chars[1] ~= 0xE1 then
- return oops("This tag is not NDEF-Complian")
+ return oops("This tag is not NDEF-Compliant")
end
local ndefVersion = b3chars[2]