Simple Ring Buffer implementation on top of a byte array for Java.