decoder

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleaseRuntimeContext

func ReleaseRuntimeContext(ctx *RuntimeContext)

Types

type Decoder

type Decoder interface {
	Decode(ctx *RuntimeContext, cursor, depth int64, rv reflect.Value) (int64, error)
}

func CompileToGetDecoder

func CompileToGetDecoder(rt reflect.Type) (Decoder, error)

type RuntimeContext

type RuntimeContext struct {
	Buf          []byte
	MaxMapSize   uint
	MaxSliceSize uint
}

func TakeRuntimeContext

func TakeRuntimeContext() *RuntimeContext

type Unmarshaler

type Unmarshaler interface {
	UnmarshalPHP([]byte) error
}

Jump to

Keyboard shortcuts

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