Class SMFB2ParsingSectionEnd
- java.lang.Object
-
- com.io7m.smfj.format.binary2.internal.SMFB2ParsingSectionEnd
-
- All Implemented Interfaces:
SMFB2StructureParserType<SMFPartial<SMFVoid>>
public final class SMFB2ParsingSectionEnd extends java.lang.Object implements SMFB2StructureParserType<SMFPartial<SMFVoid>>
An 'end' section.
-
-
Constructor Summary
Constructors Constructor Description SMFB2ParsingSectionEnd(SMFB2Section inSectionHeader)
Construct a parser.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static long
magic()
SMFPartial<SMFVoid>
parse(SMFB2ParsingContextType context)
static void
write(com.io7m.jbssio.api.BSSWriterType writer)
-
-
-
Constructor Detail
-
SMFB2ParsingSectionEnd
public SMFB2ParsingSectionEnd(SMFB2Section inSectionHeader)
Construct a parser.- Parameters:
inSectionHeader
- The section header for this section
-
-
Method Detail
-
magic
public static long magic()
- Returns:
- The magic number identifying the section.
-
write
public static void write(com.io7m.jbssio.api.BSSWriterType writer) throws java.io.IOException
- Throws:
java.io.IOException
-
parse
public SMFPartial<SMFVoid> parse(SMFB2ParsingContextType context) throws java.io.IOException
- Specified by:
parse
in interfaceSMFB2StructureParserType<SMFPartial<SMFVoid>>
- Throws:
java.io.IOException
-
-