import "cmd/internal/bio"
Package bio implements common I/O abstractions used within the Go toolchain.
MustClose closes Closer c and calls log.Fatal if it returns a non-nil error.
MustWriter returns a Writer that wraps the provided Writer, except that it calls log.Fatal instead of returning a non-nil error.
Reader implements a seekable buffered io.Reader.
Open returns a Reader for the file named name.
Slice reads the next length bytes of r into a slice.
This slice may be backed by mmap'ed memory. Currently, this memory will never be unmapped. The second result reports whether the backing memory is read-only.
SliceRO returns a slice containing the next length bytes of r backed by a read-only mmap'd data. If the mmap cannot be established (limit exceeded, region too small, etc) a nil slice will be returned. If mmap succeeds, it will never be unmapped.
Writer implements a seekable buffered io.Writer.
Create creates the file named name and returns a Writer for that file.
Package bio imports 7 packages (graph) and is imported by 20 packages. Updated 2021-01-22. Refresh now. Tools for package owners.