Module nannou_laser::ilda_idtf [−][src]
Expand description
Re-exports the ilda-idtf
crate and extends it with a FrameReader API, simplifying the
process of reading the ILDA IDTF format into frames of points that are compatible with the
nannou_laser
API.
See the extensive, top-level ilda-idtf
API docs here.
Modules
An ILDA file consists of sections which either contain a frame or a color palette. Eachsection consists of a fixed length header followed by a variable number of data records, which are either frame points or color palette colors.
Structs
A type that simplifies the process of reading laser frames from the ILDA IDTF format in a
manner that is compatible with the nannou_laser
stream APIs.
Contains a verified Header and a reader for the section contents.
Reads a sequence of frames from the ILDA IDTF spec from a stream of bytes.
Reads len
consecutive subsections of type T
.
Enums
The subsection reader kind determined via the header’s format
field.
Constants
As recommended in the specification appendix.
Traits
A helper trait for producing and working with precisely sized buffers for IDTF layout.
Functions
Open the file at the given path as a SectionReader
.
Type Definitions
A FrameReader
that reads from a buffered file.
A SectionReader
that reads from a buffered file.