RUBY-2128 JRuby ByteBuffer advances read & write positions together
RUBY-2435 Document & test ByteBuffer length decreasing after reads
bson-ruby #224: Fix RUBY-2436 Write ByteBuffer gets length reset to 0 after to_s conversion in JRuby