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.KaitaiStruct
A 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.KaitaiStruct
body()
RekordboxAnlz.SectionTags
fourcc()
A tag value indicating what kind of section this is.static RekordboxAnlz.TaggedSection
fromFile(String fileName)
long
lenHeader()
The size, in bytes, of the header portion of the tag.long
lenTag()
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 RekordboxAnlz.SectionTags 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()
- Overrides:
_parent
in classio.kaitai.struct.KaitaiStruct
-
_raw_body
public byte[] _raw_body()
-
-