just use marshal methods directly

This commit is contained in:
Joel Wetzell
2026-02-08 20:37:30 -06:00
parent f63b8886ce
commit 744817ec17
6 changed files with 33 additions and 41 deletions
+3 -1
View File
@@ -31,7 +31,9 @@ func TestGoodArtTimeCode(t *testing.T) {
}
for _, test := range tests {
got, err := artnet.NewArtTimeCode(test.Data)
got := artnet.ArtTimeCode{}
err := got.UnmarshalBinary(test.Data)
if err != nil {
t.Fatalf("failed to decode ArtTimeCode: %s", err)