I just got burned by #16303. Answering https://github.com/akka/akka/issues/16303#issuecomment-62957914, it looks like `copyToArray[B >: Byte](Array[B])` can't call `getBytes(Array[Byte], Int, Int)` due to the type constraint (defined by `GenTraversableOnce`). Instead, I'm going with the simple `isEmpty` solution proposed in the description of #16303 by @kpatrick-kixeye. |
||
|---|---|---|
| .. | ||
| src/test | ||