Top Fields Constructors Methods
org.tukaani.xz.common

public Class DecoderUtil

extends Util
Class Inheritance
Imports
java.io.InputStream, .IOException, .EOFException, java.util.zip.CRC32, org.tukaani.xz.XZ, .XZFormatException, .CorruptedInputException, .UnsupportedOptionsException

Field Summary

Inherited from org.tukaani.xz.common.Util:
BACKWARD_SIZE_MAXBLOCK_HEADER_SIZE_MAXSTREAM_HEADER_SIZEVLI_MAXVLI_SIZE_MAX

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static boolean
private static StreamFlags
decodeStreamFlags(byte[] buf, int off)

public static StreamFlags
decodeStreamFooter(byte[] buf)

public static StreamFlags
decodeStreamHeader(byte[] buf)

public static long
public static boolean
isCRC32Valid(byte[] buf, int off, int len, int ref_off)

Inherited from org.tukaani.xz.common.Util:
getVLISize

Constructor Detail

DecoderUtilback to summary
public DecoderUtil()

Method Detail

areStreamFlagsEqualback to summary
public static boolean areStreamFlagsEqual(StreamFlags a, StreamFlags b)
decodeStreamFlagsback to summary
private static StreamFlags decodeStreamFlags(byte[] buf, int off) throws UnsupportedOptionsException
decodeStreamFooterback to summary
public static StreamFlags decodeStreamFooter(byte[] buf) throws IOException
decodeStreamHeaderback to summary
public static StreamFlags decodeStreamHeader(byte[] buf) throws IOException
decodeVLIback to summary
public static long decodeVLI(InputStream in) throws IOException
isCRC32Validback to summary
public static boolean isCRC32Valid(byte[] buf, int off, int len, int ref_off)