some byte slice cleanup

This commit is contained in:
Joel Wetzell
2026-05-14 20:21:11 -05:00
parent 744817ec17
commit baf2758f28
7 changed files with 128 additions and 33 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ var (
OpDirectoryReply uint16 = 0x9b00
)
var ArtNetID []uint8 = []uint8{'A', 'r', 't', '-', 'N', 'e', 't', 0x00}
var ArtNetID [8]uint8 = [8]uint8{'A', 'r', 't', '-', 'N', 'e', 't', 0x00}
func Decode(bytes []byte) (ArtNetPacket, error) {
if len(bytes) < 12 {