Riven made some observations on the IRC channel about the PointerBuffer
class, thought i'd paste it here so that it doesn't get overlooked, don't know enough about it to comment but someone should have a quick look just to make sure its an issue that needs fixing.
[22:04:43] <_Riven> regarding PointerBuffer...
[22:05:15] <_Riven> why isn't the source buffer not checked for alignment?
[22:05:41] <_Riven> line 82
[22:05:48] <MatthiasM> good point
[22:06:37] <_Riven> asIntBuffer / asLongBuffer doesn't do that for you
[22:09:28] <_Riven> while you're at it, check that source.remaining() is a multiple of either 4 or 8
[22:09:40] <_Riven> for good measure, because it's an indication of a bug
[22:10:27] <_Riven> (passing in buffers as if it's a 32 bit system)
[22:10:49] <_Riven> fail early, etc