Class PrefixedStringCodec
java.lang.Object
io.datarouter.bytes.codec.stringcodec.PrefixedStringCodec
public class PrefixedStringCodec extends Object
Encodes a String as UTF-8 bytes prefixed with the number of bytes encoded as a VarInt.
-
Field Summary
Fields Modifier and Type Field Description static PrefixedStringCodecISO_8859_1static PrefixedStringCodecUS_ASCIIstatic PrefixedStringCodecUTF_8 -
Constructor Summary
Constructors Constructor Description PrefixedStringCodec(StringCodec stringCodec) -
Method Summary