diff options
Diffstat (limited to 'cmd/test/main.go')
| -rw-r--r-- | cmd/test/main.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/test/main.go b/cmd/test/main.go index e580b63..35eddad 100644 --- a/cmd/test/main.go +++ b/cmd/test/main.go @@ -1,6 +1,7 @@ package main import ( + "bytes" "fmt" "time" @@ -25,7 +26,7 @@ func main() { } fmt.Printf("% X\n", data) - out, err := core.Decode(data) + out, err := core.Decode(bytes.NewBuffer(data)) if err != nil { panic(err) } |
