blobstream

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: May 5, 2026 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package blobstream provides readers and writers for the blobstream format.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendBytes

func AppendBytes(out []byte, blobs iter.Seq[[]byte]) []byte

AppendBytes appends the blobstream format to a slice of bytes.

func ReadBytes

func ReadBytes(data []byte) ([][]byte, error)

ReadBytes interprets data as the blobstream format and returns a slice.

func ReadStream

func ReadStream(r io.Reader) iter.Seq2[[]byte, error]

ReadStream iterates over a blobstream

func WriteStream

func WriteStream(w io.Writer, blobs iter.Seq[[]byte]) error

WriteStream writes a sequence of blobs to Writer in the blobstream format.

Types

This section is empty.

Jump to

Keyboard shortcuts

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