package util

import "github.com/open-policy-agent/opa/internal/wasm/util"

Index

Constants

const PageSize = 65535

PageSize represents the WASM page size in bytes.

Functions

func Pages

func Pages(n uint32) uint32

Pages converts a byte size to Pages, rounding up as necessary.

Source Files

util.go

Version
v1.4.2 (latest)
Published
May 2, 2025
Platform
linux/amd64
Last checked
6 hours ago

Tools for package owners.