MCPcopy Index your code
hub / github.com/TruthHun/BookStack / Decode

Function Decode

utils/gob.go:9–16  ·  view source on GitHub ↗

解码

(value string,r interface{})

Source from the content-addressed store, hash-verified

7
8//解码
9func Decode(value string,r interface{}) (error) {
10
11 network := bytes.NewBuffer([]byte(value));
12
13 dec := gob.NewDecoder(network)
14
15 return dec.Decode(r);
16}
17
18//编码
19func Encode(value interface{}) (string,error) {

Callers 3

PrepareMethod · 0.92
LoginMethod · 0.92
isBookOwnerMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected