public class KLV extends Object
Modifier and Type | Field and Description |
---|---|
long |
dataOffset |
UL |
key |
long |
len |
long |
offset |
Constructor and Description |
---|
KLV(UL k,
long len,
long offset,
long dataOffset) |
Modifier and Type | Method and Description |
---|---|
int |
getLenByteCount() |
static boolean |
matches(byte[] key1,
byte[] key2,
int len) |
static KLV |
readKL(SeekableByteChannel ch) |
static KLV |
readKLFromBuffer(ByteBuffer buffer,
long baseOffset) |
String |
toString() |
public final long offset
public final long dataOffset
public final UL key
public final long len
public KLV(UL k, long len, long offset, long dataOffset)
public static KLV readKL(SeekableByteChannel ch) throws IOException
IOException
public int getLenByteCount()
public static boolean matches(byte[] key1, byte[] key2, int len)
public static KLV readKLFromBuffer(ByteBuffer buffer, long baseOffset)
Copyright © 2019. All rights reserved.