skadistats.clarity.decoder.prop.StringDecoder 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 and CSGO 1 and 2 written in Java.
package skadistats.clarity.decoder.prop;
import skadistats.clarity.decoder.EntityBitStream;
import skadistats.clarity.model.Prop;
public class StringDecoder implements PropDecoder {
@Override
public String decode(EntityBitStream stream, Prop prop) {
int len = stream.readNumericBits(9);
return stream.readString(len);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy