AbstractFullBoxpublic abstract class AbstractFullBox extends AbstractBox implements com.coremedia.iso.boxes.FullBoxBase class for all ISO Full boxes. |
Fields Summary |
---|
private int | version | private int | flags |
Constructors Summary |
---|
protected AbstractFullBox(String type)
super(type);
| protected AbstractFullBox(String type, byte[] userType)
super(type, userType);
|
Methods Summary |
---|
public int | getFlags()
return flags;
| public int | getVersion()
return version;
| protected final long | parseVersionAndFlags(java.nio.ByteBuffer content)Parses the version/flags header and returns the remaining box size.
version = IsoTypeReader.readUInt8(content);
flags = IsoTypeReader.readUInt24(content);
return 4;
| public void | setFlags(int flags)
this.flags = flags;
| public void | setVersion(int version)
this.version = version;
| protected final void | writeVersionAndFlags(java.nio.ByteBuffer bb)
IsoTypeWriter.writeUInt8(bb, version);
IsoTypeWriter.writeUInt24(bb, flags);
|
|