Skip to content

Commit 08d2f21

Browse files
committed
[Java] Regenerate Java IR codecs to update sbeRewind.
1 parent 24249fa commit 08d2f21

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

sbe-tool/src/main/java/uk/co/real_logic/sbe/ir/generated/FrameCodecDecoder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,9 @@ public FrameCodecDecoder wrapAndApplyHeader(
104104
headerDecoder.version());
105105
}
106106

107-
public void sbeRewind()
107+
public FrameCodecDecoder sbeRewind()
108108
{
109-
wrap(buffer, initialOffset, actingBlockLength, actingVersion);
109+
return wrap(buffer, initialOffset, actingBlockLength, actingVersion);
110110
}
111111

112112
public int encodedLength()

sbe-tool/src/main/java/uk/co/real_logic/sbe/ir/generated/TokenCodecDecoder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,9 @@ public TokenCodecDecoder wrapAndApplyHeader(
104104
headerDecoder.version());
105105
}
106106

107-
public void sbeRewind()
107+
public TokenCodecDecoder sbeRewind()
108108
{
109-
wrap(buffer, initialOffset, actingBlockLength, actingVersion);
109+
return wrap(buffer, initialOffset, actingBlockLength, actingVersion);
110110
}
111111

112112
public int encodedLength()

0 commit comments

Comments
 (0)