Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plotter ¶
type Plotter struct {
// contains filtered or unexported fields
}
Plotter is a wrapper over a byte slice that enables writing of various types of primitives.
func NewPlotter ¶
NewPlotter creates a new Plotter instance over the specified byte slice that will do writing using the specified byte order.
func (*Plotter) PlotByte ¶
PlotByte sets a single byte at the current offset and advances the offset with one byte.
func (*Plotter) PlotFloat32 ¶
PlotFloat32 sets a single float32 value at the current offset and advances the offset with four bytes.
func (*Plotter) PlotUint16 ¶
PlotUint16 sets a single uint16 value at the current offset and advances the offset with two bytes.
func (*Plotter) PlotUint32 ¶
PlotUint32 sets a single uint32 value at the current offset and advances the offset with four bytes.