Commit 32a45d09 authored by Linus Tufvesson's avatar Linus Tufvesson

Fixed octal printing of bytearrays

Change-Id: Ia848d7fae9aeab89e65b00f05cee6c1e6d649d94
parent ec0e1c00
......@@ -249,7 +249,7 @@ public final class MessageNanoPrinter {
} else if (ch >= 32 && ch < 127) {
builder.append((char) ch);
} else {
builder.append(String.format("\\%03o", ch));
builder.append(String.format("\\%03o", ch && 0xff));
}
}
builder.append('"');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment