It's my understanding that the Java classes all use `int` for lengths, indexes, etc... so my approach was to simply cast the underlying D `long`s to `int`s so the Java API remains the same.
I would like to know if I'm on the right track, so please take a moment to give my changes a peer review.
https://github.com/JinShil/base/commits/master Thanks, Mike