func (s Capnp2A) PhoneBytes() ([]byte, error) {
	p, err := s.Struct.Pointer(1)
	if err != nil {
		return nil, err
	}
	return capnp.ToData(p), nil
}
func (s Book) TitleBytes() ([]byte, error) {
	p, err := s.Struct.Pointer(0)
	if err != nil {
		return nil, err
	}
	return capnp.ToData(p), nil
}
func (s Replay) GameIdBytes() ([]byte, error) {
	p, err := s.Struct.Pointer(0)
	if err != nil {
		return nil, err
	}
	return capnp.ToData(p), nil
}
func (s Credentials) SecretTokenBytes() ([]byte, error) {
	p, err := s.Struct.Pointer(0)
	if err != nil {
		return nil, err
	}
	return capnp.ToData(p), nil
}
Exemple #5
0
func (s Hash_sum_Results) Hash() ([]byte, error) {
	p, err := s.Struct.Pointer(0)
	if err != nil {
		return nil, err
	}

	return []byte(capnp.ToData(p)), nil

}
Exemple #6
0
func (s Hash_write_Params) Data() ([]byte, error) {
	p, err := s.Struct.Pointer(0)
	if err != nil {
		return nil, err
	}

	return []byte(capnp.ToData(p)), nil

}