mirror of
https://github.com/jwetzell/osc-go.git
synced 2026-08-11 18:13:38 +00:00
28 lines
299 B
Go
28 lines
299 B
Go
package osc
|
|
|
|
type OSCPacket interface {
|
|
ToBytes() []byte
|
|
}
|
|
|
|
type OSCBundle struct {
|
|
TimeTag uint64
|
|
Contents []OSCPacket
|
|
}
|
|
|
|
type OSCArg struct {
|
|
Type string
|
|
Value any
|
|
}
|
|
|
|
type OSCMessage struct {
|
|
Address string
|
|
Args []OSCArg
|
|
}
|
|
|
|
type OSCColor struct {
|
|
r uint8
|
|
g uint8
|
|
b uint8
|
|
a uint8
|
|
}
|