func (b *Beacon) PublishBytes(announcement []byte, interval int) error {
	rc := C.Beacon_publish(
		unsafe.Pointer(b.zactorT),
		unsafe.Pointer(&announcement[0]),
		C.int(len(announcement)),
		C.int(interval),
	)
	if rc == -1 {
		return ErrActorCmd
	}

	return nil
}
// PublishBytes publishes an announcement byte slice at an interval
PublishBytes publishes an announcement byte slice at an interval
// PublishBytes publishes an announcement byte slice at an interval
func (b *Beacon) PublishBytes(announcement []byte, interval int) error {
	rc := C.Beacon_publish(
		unsafe.Pointer(b.zactorT),
		unsafe.Pointer(&announcement[0]),
		C.int(len(announcement)),
		C.int(interval),
	)
	if rc == -1 {
		return ErrActorCmd
	}
	return nil
}
func ( b * Beacon ) PublishBytes ( announcement [ ] byte , interval int ) error { rc := C . Beacon_publish ( unsafe . Pointer ( b . zactorT ) , unsafe . Pointer ( & announcement [ 0 ] ) , C . int ( len ( announcement ) ) , C . int ( interval ) , ) if rc == - 1 { return ErrActorCmd } return nil }
PublishBytes publishes an announcement byte slice at an interval
PublishBytes publishes an announcement byte slice at an interval