All Downloads are FREE. Search and download functionalities are using the official Maven repository.

skadistats.clarity.decoder.prop.StringDecoder Maven / Gradle / Ivy

Go to download

Clarity is an open source replay parser for Dota 2 and CSGO 1 and 2 written in Java.

There is a newer version: 3.1.1
Show newest version
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