modulepackage
0.1.2
Repository: https://github.com/lima-vm/go-qcow2reader.git
Documentation: pkg.go.dev
# README
go-qcow2reader
go-qcow2reader provides io.ReaderAt
for qcow2 images.
Use io.NewSectionReader
to wrap io.ReaderAt
into io.Reader
:
f, _ := os.Open("a.qcow2")
defer f.Close()
img, _ := qcow2reader.Open(f)
r := io.NewSectionReader(img, 0, img.Size()))
The following features are not supported yet:
The following features are experimentally supported:
# Functions
Open opens an image.
OpenWithType open opens an image with the specified [image.Type].
# Variables
Types is the known image types.