encoder

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2022 License: BSD-3-Clause-Open-MPI Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Writer

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

func NewWriter

func NewWriter(pkg *types.Package) *Writer

func (*Writer) Bytes

func (w *Writer) Bytes() []byte

func (*Writer) HeaderExpr

func (w *Writer) HeaderExpr() string

func (*Writer) NeedUnsafe

func (w *Writer) NeedUnsafe() bool

func (*Writer) Printf

func (w *Writer) Printf(format string, args ...interface{})

func (*Writer) ReadField

func (w *Writer) ReadField(name string, t types.Type)

func (*Writer) SizeExpr

func (w *Writer) SizeExpr() string

func (*Writer) WriteField

func (w *Writer) WriteField(name string, t types.Type)

func (*Writer) WriteTo

func (w *Writer) WriteTo(writer io.Writer) (n int64, err error)

Jump to

Keyboard shortcuts

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