matfio

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

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

Go to latest
Published: Nov 29, 2021 License: BSD-3-Clause Imports: 12 Imported by: 0

README

matfio

matfio is a pure-Go package to read/write MATLAB files as described in:

Documentation

Overview

Package matfio provides types and tools to read/write MATLAB files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataElement

type DataElement struct {
	Type Type
	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.Reader) (*Reader, error)

func (*Reader) Read

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

type Type

type Type uint32
const (
	Int8    Type = 1
	Uint8   Type = 2
	Int16   Type = 3
	Uint16  Type = 4
	Int32   Type = 5
	Uint32  Type = 6
	Float32 Type = 7

	Float64 Type = 9

	Int64      Type = 12
	Uint64     Type = 13
	Matrix     Type = 14
	Compressed Type = 15
	UTF8       Type = 16
	UTF16      Type = 17
	UTF32      Type = 18
)

func (Type) String

func (i Type) String() string

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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