public class MPSIndex extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MPSIndex.MPSStreamIndex |
Modifier and Type | Field and Description |
---|---|
protected RunLength.Integer |
pesStreamIds |
protected long[] |
pesTokens |
protected MPSIndex.MPSStreamIndex[] |
streams |
Constructor and Description |
---|
MPSIndex(long[] pesTokens,
RunLength.Integer pesStreamIds,
MPSIndex.MPSStreamIndex[] streams) |
Modifier and Type | Method and Description |
---|---|
int |
estimateSize() |
RunLength.Integer |
getPesStreamIds() |
long[] |
getPesTokens() |
MPSIndex.MPSStreamIndex[] |
getStreams() |
static int |
leadingSize(long token) |
static long |
makePESToken(long leading,
long pesLen,
long payloadLen) |
static MPSIndex |
parseIndex(ByteBuffer index) |
static int |
payLoadSize(long token) |
static int |
pesLen(long token) |
void |
serializeTo(ByteBuffer index) |
protected long[] pesTokens
protected RunLength.Integer pesStreamIds
protected MPSIndex.MPSStreamIndex[] streams
public MPSIndex(long[] pesTokens, RunLength.Integer pesStreamIds, MPSIndex.MPSStreamIndex[] streams)
public long[] getPesTokens()
public RunLength.Integer getPesStreamIds()
public MPSIndex.MPSStreamIndex[] getStreams()
public static MPSIndex parseIndex(ByteBuffer index)
public void serializeTo(ByteBuffer index)
public int estimateSize()
public static long makePESToken(long leading, long pesLen, long payloadLen)
public static int leadingSize(long token)
public static int pesLen(long token)
public static int payLoadSize(long token)
Copyright © 2019. All rights reserved.