Y
Hacker News
new
|
ask
|
show
|
jobs
by
brianyu8
2669 days ago
I believe it's broken if len(Data) == 3 as you are trying to access Data[3], which is out of bounds if Data is length 3.
1 comments
js2
2669 days ago
Ah you're right, it was the Python example I couldn't find anything wrong with and then I copy/pasted the Go example without looking at it as closely. Python example has been fixed though per sibling comment.
link