skadistats.clarity.io.decoder.StringZeroTerminatedDecoder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of clarity Show documentation
Show all versions of clarity Show documentation
Clarity is an open source replay parser for Dota 2, CSGO, CS2 and Deadlock written in Java.
package skadistats.clarity.io.decoder;
import skadistats.clarity.io.bitstream.BitStream;
public class StringZeroTerminatedDecoder implements Decoder {
@Override
public String decode(BitStream bs) {
return bs.readString(Integer.MAX_VALUE);
}
}