org.jcodec.containers.mxf.model
Class KLV
java.lang.Object
org.jcodec.containers.mxf.model.KLV
public class KLV
- extends Object
This class is part of JCodec ( www.jcodec.org ) This software is distributed
under FreeBSD License
- Author:
- The JCodec project
|
Constructor Summary |
KLV(UL k,
long len,
long offset,
long dataOffset)
|
offset
public final long offset
dataOffset
public final long dataOffset
key
public final UL key
len
public final long len
KLV
public KLV(UL k,
long len,
long offset,
long dataOffset)
toString
public String toString()
- Overrides:
toString in class Object
readKL
public static KLV readKL(SeekableByteChannel ch)
throws IOException
- Throws:
IOException
getLenByteCount
public int getLenByteCount()
- Returns:
- byte count of BER encoded "length" field
matches
public static boolean matches(byte[] key1,
byte[] key2,
int len)
readKL
public static KLV readKL(ByteBuffer buffer,
long baseOffset)
Copyright © 2013. All Rights Reserved.