public final class CodecUtil extends Object
Modifier and Type | Method and Description |
---|---|
static int |
checkHeader(DataInput in,
String codec,
int minVersion,
int maxVersion) |
static int |
headerLength(String codec) |
static DataOutput |
writeHeader(DataOutput out,
String codec,
int version) |
public static DataOutput writeHeader(DataOutput out, String codec, int version) throws IOException
IOException
public static int headerLength(String codec)
public static int checkHeader(DataInput in, String codec, int minVersion, int maxVersion) throws IOException
IOException