simple-binary-encoding
simple-binary-encoding copied to clipboard
Java Generated DTO fields for char fields aren't given public scope
@ZachBray - thanks for the new DTO functionality - looks very useful.
I tried using it but noticed that char based fields don't have the public access scope applied.
e.g. given a schema containing:
<type name="char16" primitiveType="char" length="16" />
<sbe:message name="MyType" id="1">
<field name="charField" id="1" type="char16" />
</sbe:message>
The DTO contains:
void charField(String value)
Rather than:
public void charField(String value)
This means that its not possible to set the field in the DTO.