phpencode

package
v0.0.0-...-f52026a Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2022 License: MIT Imports: 6 Imported by: 0

README

Documentation

Index

Constants

View Source
const SEPARATOR_VALUE_NAME rune = '|'

Variables

This section is empty.

Functions

This section is empty.

Types

type PhpDecoder

type PhpDecoder struct {
	// contains filtered or unexported fields
}

func NewPhpDecoder

func NewPhpDecoder(phpSession string) *PhpDecoder

func (*PhpDecoder) Decode

func (self *PhpDecoder) Decode() (PhpSession, error)

func (*PhpDecoder) SetDecodeFunc

func (self *PhpDecoder) SetDecodeFunc(f phpserialize.DecodeFunc)

type PhpEncoder

type PhpEncoder struct {
	// contains filtered or unexported fields
}

func NewPhpEncoder

func NewPhpEncoder(data PhpSession) *PhpEncoder

func (*PhpEncoder) Encode

func (self *PhpEncoder) Encode() (string, error)

func (*PhpEncoder) SetEncodeFunc

func (self *PhpEncoder) SetEncodeFunc(f phpserialize.EncodeFunc)

type PhpSession

type PhpSession map[string]phptype.Value

Jump to

Keyboard shortcuts

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