github.com/fananchong/cstruct-go@v0.0.0-20220616060855-b65d9a2f2e17/decode.go (about)

     1  package cstruct
     2  
     3  func Unmarshal(buf []byte, obj IStruct) error {
     4  	return NewBuffer(buf).Unmarshal(obj)
     5  }