frameio

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2026 License: MIT Imports: 5 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package frameio defines the bounded BZM1 local process-pipe frame format. It is not a device/network protocol and carries no authentication or revision.

Index

Constants

This section is empty.

Variables

View Source
var ErrFrame = errors.New("frameio: invalid packed frame")

Functions

func Decode

func Decode(data []byte) (display.Frame, error)

Decode borrows a complete in-memory BZM1 record, avoiding a second copy of already bounded worker output. Callers retain the backing bytes unchanged.

func Read

func Read(r io.Reader) (display.Frame, error)

Read owns returned pixels. Validate geometry before allocating and require EOF after one complete frame. The pipe owner must enforce a process deadline.

func Reader

func Reader(frame display.Frame) (io.Reader, error)

Reader borrows immutable frame storage until fully consumed; no pixel copy.

Types

This section is empty.

Jump to

Keyboard shortcuts

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