testmsgpack.go 250 B

1234567891011121314
  1. package main
  2. import (
  3. "github.com/vmihailenco/msgpack/v5"
  4. "fmt"
  5. //"strconv"
  6. )
  7. func main () {
  8. aa, _ := msgpack.Marshal( []interface{}{ "SD25" } )
  9. fmt.Println( "%s", string(aa) )
  10. //fmt.Println( crc16.Kermit([]byte("Hello World")) )
  11. }