|
|
|
|
|
by lkrubner
3 days ago
|
|
(.indexOf (seq (byte-array [1 2 3])) 2) This is not a bug. This is acting as you would expect once you realize the types you are looking at. While a simple reading of this would expect it to return the "3", this line doesn't return the "3" because the "2" is a Java Long, while the bytes are bytes. |
|