public final class LevelDbConstants extends Object
LevelDbInputReader and
LevelDbOutputWriter.| Modifier and Type | Class and Description |
|---|---|
static class |
LevelDbConstants.RecordType
An enumerated type that describes the type of the record being stored.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
BLOCK_SIZE
The size of the blocks records are written in.
|
static int |
CRC_MASK_DELTA
CRC Mask.
|
static int |
HEADER_LENGTH
Header length in data.
|
| Constructor and Description |
|---|
LevelDbConstants() |
public static final int BLOCK_SIZE
public static final int HEADER_LENGTH
public static final int CRC_MASK_DELTA
public static long maskCrc(long crc)
crc - the CRC to mask.public static long unmaskCrc(long maskedCrc)
maskedCrc - a masked CRC.Copyright © 2015 Google. All rights reserved.