package
1.0.4006
Repository: https://github.com/deatil/go-cryptobin.git
Documentation: pkg.go.dev

# Functions

Returns whether the value represents the empty value for its type.
Marshal the value 'v' to the bencode form, return the result as []byte and an error if any.
Marshal and throw panic when error.
解析 New Decoder.
编码 New Encoder.
Unmarshal the bencode value in the 'data' to a value pointed by the 'v' pointer, return a non-nil error if any.

# Constants

# Structs

No description provided by the author
No description provided by the author
返回数据用的.
A non-nil error was returned after calling MarshalBencode on a type which implements the Marshaler interface.
In case if marshaler cannot encode a type, it will return this error.
多文件信息.
文件信息.
多文件 包含5:files 版本为通用类,非通用类需要直接用 map 获取数据或者生成数据.
单文件信息.
单文件 版本为通用类,非通用类需要直接用 map 获取数据或者生成数据.
Malformed bencode input, unmarshaler failed to parse it.
A non-nil error was returned after calling UnmarshalBencode on a type which implements the Unmarshaler interface.
Unmarshaler tried to write to an unexported (therefore unwritable) field.
Unmarshal argument must be a non-nil value of some pointer type.
Unmarshaler spotted a value that was not appropriate for a given Go value.
No description provided by the author

# Interfaces

Any type which implements this interface, will be marshaled using the specified method.
Any type which implements this interface, will be unmarshaled using the specified method.

# Type aliases

bytes data.
接收解析后的数据.
No description provided by the author