public abstract class AbstractFullBox extends AbstractBox implements FullBox
type
Modifier | Constructor and Description |
---|---|
protected |
AbstractFullBox(String type) |
protected |
AbstractFullBox(String type,
byte[] userType) |
Modifier and Type | Method and Description |
---|---|
int |
getFlags() |
int |
getVersion() |
protected long |
parseVersionAndFlags(ByteBuffer content)
Parses the version/flags header and returns the remaining box size.
|
void |
setFlags(int flags) |
void |
setVersion(int version) |
protected void |
writeVersionAndFlags(ByteBuffer bb) |
_parseDetails, getBox, getContent, getContentSize, getOffset, getParent, getPath, getSize, getType, getUserType, isParsed, parse, parseDetails, setDeadBytes, setParent
protected AbstractFullBox(String type)
protected AbstractFullBox(String type, byte[] userType)
@DoNotParseDetail public int getVersion()
getVersion
in interface FullBox
public void setVersion(int version)
setVersion
in interface FullBox
@DoNotParseDetail public int getFlags()
protected final long parseVersionAndFlags(ByteBuffer content)
content
- the ByteBuffer
that contains the version & flagprotected final void writeVersionAndFlags(ByteBuffer bb)
Copyright © 2014. All rights reserved.