com.io7m.smfj.format.binary.v1

## Class SMFBv1SectionParserTriangles

- java.lang.Object
- - com.io7m.smfj.format.binary.v1.SMFBv1SectionParserTriangles

- All Implemented Interfaces:
    SMFBBodySectionParserType

      public final class SMFBv1SectionParserTriangles
      extends Object
      implements SMFBBodySectionParserType

  A parser for triangle sections.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SMFBv1SectionParserTriangles()` Construct a parser.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `long` | `magic()`
    `void` | `parse(SMFHeader header, SMFParserEventsBodyType events, SMFBDataStreamReaderType reader)` Parse the section.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SMFBv1SectionParserTriangles

          public SMFBv1SectionParserTriangles()

      Construct a parser.

  - ### Method Detail

    - #### magic

          public long magic()

      Specified by:
        `magic` in interface `SMFBBodySectionParserType`
      Returns:
        The magic number of the type of sections handled by this parser

    - #### parse

          public void parse(SMFHeader header,
                            SMFParserEventsBodyType events,
                            SMFBDataStreamReaderType reader)

      Description copied from interface: `SMFBBodySectionParserType`
      Parse the section.
      Specified by:
        `parse` in interface `SMFBBodySectionParserType`
      Parameters:
        `header` - The current header
        `events` - An event receiver
        `reader` - A data stream reader

Copyright © 2017 <code@io7m.com> http://io7m.com