file

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Ascii Format (irs ascii format)
	FormatAscii = "ascii"
	// Json Format (Variable blocked)
	FormatJson = "json"
	// maximum number of “A” Records
	MaximumTransmitterRecord = 99000
)

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File interface {
	Parse([]byte) error
	Ascii() []byte
	Pdf() ([]byte, error)
	Validate() error
	SetTCC(string) error
	TCC() (*string, error)
}

General file interface

func CreateFile

func CreateFile(buf []byte) (File, error)

CreateFile attempts to parse raw irs file contents

func NewFile

func NewFile() File

NewFile constructs a file template.

Jump to

Keyboard shortcuts

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