mirror of
https://github.com/jwetzell/artnet-go.git
synced 2026-09-10 15:59:30 +00:00
some byte slice cleanup
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user