Package org.deepsymmetry.cratedigger.pdb
Class RekordboxAnlz.TaggedSection
- java.lang.Object
-
- io.kaitai.struct.KaitaiStruct
-
- org.deepsymmetry.cratedigger.pdb.RekordboxAnlz.TaggedSection
-
- Enclosing class:
- RekordboxAnlz
public static class RekordboxAnlz.TaggedSection extends io.kaitai.struct.KaitaiStructA type-tagged file section, identified by a four-byte magic sequence, with a header specifying its length, and whose payload is determined by the type tag.
-
-
Constructor Summary
Constructors Constructor Description TaggedSection(io.kaitai.struct.KaitaiStream _io)TaggedSection(io.kaitai.struct.KaitaiStream _io, RekordboxAnlz _parent)TaggedSection(io.kaitai.struct.KaitaiStream _io, RekordboxAnlz _parent, RekordboxAnlz _root)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RekordboxAnlz_parent()byte[]_raw_body()RekordboxAnlz_root()io.kaitai.struct.KaitaiStructbody()intfourcc()A tag value indicating what kind of section this is.static RekordboxAnlz.TaggedSectionfromFile(String fileName)longlenHeader()The size, in bytes, of the header portion of the tag.longlenTag()The size, in bytes, of this entire tag, counting the header.
-
-
-
Constructor Detail
-
TaggedSection
public TaggedSection(io.kaitai.struct.KaitaiStream _io)
-
TaggedSection
public TaggedSection(io.kaitai.struct.KaitaiStream _io, RekordboxAnlz _parent)
-
TaggedSection
public TaggedSection(io.kaitai.struct.KaitaiStream _io, RekordboxAnlz _parent, RekordboxAnlz _root)
-
-
Method Detail
-
fromFile
public static RekordboxAnlz.TaggedSection fromFile(String fileName) throws IOException
- Throws:
IOException
-
fourcc
public int fourcc()
A tag value indicating what kind of section this is.
-
lenHeader
public long lenHeader()
The size, in bytes, of the header portion of the tag.
-
lenTag
public long lenTag()
The size, in bytes, of this entire tag, counting the header.
-
body
public io.kaitai.struct.KaitaiStruct body()
-
_root
public RekordboxAnlz _root()
-
_parent
public RekordboxAnlz _parent()
-
_raw_body
public byte[] _raw_body()
-
-