matfio

package module
v0.0.0-...-acd4176 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2016 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Class

type Class byte
const (
	CellClass    Class = 1
	StructClass  Class = 2
	ObjectClass  Class = 3
	CharClass    Class = 4
	SparseClass  Class = 5
	Float64Class Class = 6
	Float32Class Class = 7
	Int8Class    Class = 8
	Uint8Class   Class = 9
	Int16Class   Class = 10
	Uint16Class  Class = 11
	Int32Class   Class = 12
	Uint32Class  Class = 13
	Int64Class   Class = 14
	Uint64Class  Class = 15
)

func (Class) String

func (i Class) String() string

type DataElement

type DataElement struct {
	Tag  Tag
	Size uint32
	Data []byte
}
type Header struct {
	// contains filtered or unexported fields
}

func (*Header) Text

func (hdr *Header) Text() string

type Reader

type Reader struct {
	// contains filtered or unexported fields
}

func NewReader

func NewReader(r io.ReaderAt) (*Reader, error)

func (*Reader) Read

func (r *Reader) Read(data *DataElement) error

type Tag

type Tag uint32
const (
	Int8Tag    Tag = 1
	Uint8Tag   Tag = 2
	Int16Tag   Tag = 3
	Uint16Tag  Tag = 4
	Int32Tag   Tag = 5
	Uint32Tag  Tag = 6
	Float32Tag Tag = 7

	Float64Tag Tag = 9

	Int64Tag      Tag = 12
	Uint64Tag     Tag = 13
	MatrixTag     Tag = 14
	CompressedTag Tag = 15
	UTF8Tag       Tag = 16
	UTF16Tag      Tag = 17
	UTF32Tag      Tag = 18
)

func (Tag) String

func (i Tag) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL