Deploy fix of ByteBufferInput and use it 07/111007/12
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 25 Mar 2024 08:24:52 +0000 (09:24 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 25 Mar 2024 13:14:43 +0000 (14:14 +0100)
commit4a0d430bb2a0b17a5cdd4af90c0b81080817f70a
tree22d2886c837acca46f16bf97fa897271d732231c
parent130476cd353b68f05e5dc26f64eade38fc1c68e1
Deploy fix of ByteBufferInput and use it

readAscii() just wants to fix up the last byte it passes to the String
constructor. Do that after reading.

Inherit everything alse that is not required from the regular
ByteBufferInput to minimize code duplication.

JIRA: CONTROLLER-2109
Change-Id: Ic12b8e06317a8376b34d514daaf1ba7d46d16178
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
atomix-storage/src/main/java/io/atomix/utils/serializer/ByteBufferInput.java
atomix-storage/src/main/java/io/atomix/utils/serializer/KryoJournalSerdes.java