Skip to content

Commit

Permalink
[Java] Advance buffer in toString() operation for var data. Issue #542.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjpt777 committed Feb 27, 2018
1 parent 92c6028 commit 3222a93
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2914,7 +2914,10 @@ private void appendDecoderDisplay(
append(sb, indent, "builder.append(\"" + varDataName + Separators.KEY_VALUE + "\");");
if (null == characterEncoding)
{
append(sb, indent, "builder.append(" + varDataName + "Length() + \" raw bytes\");");
append(sb, indent, "builder.append(" + varDataName + "Length() + \" bytes of raw data\");");
append(sb, indent,
"parentMessage.limit(parentMessage.limit() + " + varDataName + "HeaderLength() + " +
varDataName + "Length());");
}
else
{
Expand Down

0 comments on commit 3222a93

Please sign in to comment.