org.xerial.snappy
クラス SnappyCodec
java.lang.Object
org.xerial.snappy.SnappyCodec
public class SnappyCodec
- extends Object
Preamble header for SnappyOutputStream
- 作成者:
- leo
MAGIC_HEADER
public static final byte[] MAGIC_HEADER
MAGIC_LEN
public static final int MAGIC_LEN
- 関連項目:
- 定数フィールド値
DEFAULT_VERSION
public static final int DEFAULT_VERSION
- 関連項目:
- 定数フィールド値
MINIMUM_COMPATIBLE_VERSION
public static final int MINIMUM_COMPATIBLE_VERSION
- 関連項目:
- 定数フィールド値
magic
public final byte[] magic
version
public final int version
compatibleVersion
public final int compatibleVersion
toString
public String toString()
- オーバーライド:
- クラス
Object 内の toString
headerSize
public static int headerSize()
writeHeader
public void writeHeader(OutputStream out)
throws IOException
- 例外:
IOException
isValidMagicHeader
public boolean isValidMagicHeader()
readHeader
public static SnappyCodec readHeader(InputStream in)
throws IOException
- 例外:
IOException
currentHeader
public static SnappyCodec currentHeader()
Copyright © 2011. All Rights Reserved.