func Deserialize(v interface{}, buf []byte) ([]byte, error) {
	buf, err := deserialize(reflect.ValueOf(v), buf, 0)
	if err != nil {
		return nil, err
	}

	return buf, nil
}
// Deserialize a binstruct structure, returning the unused bytes.
Deserialize a binstruct structure, returning the unused bytes.
// Deserialize a binstruct structure returning the unused bytes .
func Deserialize(v interface{}, buf []byte) ([]byte, error) {
	buf, err := deserialize(reflect.ValueOf(v), buf, 0)
	if err != nil {
		return nil, err
	}
	return buf, nil
}
func Deserialize ( v interface { } , buf [ ] byte ) ( [ ] byte , error ) { buf , err := deserialize ( reflect . ValueOf ( v ) , buf , 0 ) if err != nil { return nil , err } return buf , nil }
Deserialize a binstruct structure, returning the unused bytes.
Deserialize a binstruct structure returning the unused bytes .