func (s Hash_sum_Results) SetHash(v []byte) error { d, err := capnp.NewData(s.Struct.Segment(), []byte(v)) if err != nil { return err } return s.Struct.SetPointer(0, d) }
func (s Hash_write_Params) SetData(v []byte) error { d, err := capnp.NewData(s.Struct.Segment(), []byte(v)) if err != nil { return err } return s.Struct.SetPointer(0, d) }