package
0.0.11
Repository: https://github.com/grailbio/base.git
Documentation: pkg.go.dev

# Functions

NewFileWriter returns a writer that can be used to append fatbin images to the binary represented by the provided file.
NewReader returns a new fatbin reader from the provided reader.
NewWriter returns a writer that may be used to append fatbin images to the writer w.
OpenFile parses the provided ReaderAt with the provided size.
Self reads the currently executing binary image as a fatbin and returns a reader to it.
Sniff sniffs a binary's goos, goarch, and fatbin offset.

# Variables

ErrCorruptedImage is returned when the fatbin image has been corrupted.
ErrNoSuchImage is returned when the fatbin does not contain an image for the requested GOOS/GOARCH combination.

# Structs

Info provides information for an embedded binary.
Reader reads images from a fatbin.
Writer is used to append fatbin images to an existing binary.