sv

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Change

func Change(s *SV, bin []byte, newValue string) ([]byte, error)

修改变量的新值

Types

type SV

type SV struct {
	Name   string // 变量名
	Head   int    // 头部位置
	MaxLen int    // 初始化后最大长度
	NowLen int    // 当前长度
	Value  string // 动态真实值

	ParseValue *modules.ParseString // 解析值
}

变量类

func LoadAllValue

func LoadAllValue(bin []byte) ([]*SV, error)

将所有注册静态变量加载进动态数据中

Jump to

Keyboard shortcuts

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