Skip to content

Conversation

ywhrh
Copy link
Contributor

@ywhrh ywhrh commented Jul 17, 2023

SBE toString() won't print trailing garbage after non-printable char; JsonPrinter should have the same functionality...

see CarEncoder toString:

for (int i = 0; i < vehicleCodeLength() && this.vehicleCode(i) > 0; i++)
{
    builder.append((char)this.vehicleCode(i));
}

@mjpt777 mjpt777 merged commit 4454c85 into aeron-io:master Jul 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants