Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2716,6 +2716,11 @@ private CharSequence generateDecoderFlyweightCode(final String className, final
" final int decodedLength = encodedLength();\n" +
" limit(currentLimit);\n\n" +
" return decodedLength;\n" +
" }\n\n" +

" public int actingVersion()\n" +
" {\n" +
" return actingVersion;\n" +
" }\n\n";

return generateFlyweightCode(DECODER, className, token, methods, readOnlyBuffer);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,11 @@ public int sbeDecodedLength()
return decodedLength;
}

public int actingVersion()
{
return actingVersion;
}

public int encodedLength()
{
return limit - offset;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,11 @@ public int sbeDecodedLength()
return decodedLength;
}

public int actingVersion()
{
return actingVersion;
}

public int encodedLength()
{
return limit - offset;
Expand Down