blob

package
v0.0.0-...-e62627f Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package blob provides Blob and File Web API bindings for QuickJS.

Index

Constants

View Source
const (
	ModuleName = "blob"
)

Variables

This section is empty.

Functions

func Bytes

func Bytes(ctx *quickjs.Context, value *quickjs.Value) ([]byte, error)

Bytes returns a copied byte representation of a Blob or File.

func InstallGlobal

func InstallGlobal(ctx *quickjs.Context) error

InstallGlobal installs Blob and File on globalThis.

func Module

func Module() module.Definition

Module returns the ESM definition for Blob and File.

Types

This section is empty.

Jump to

Keyboard shortcuts

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