try {
blob6.getBytes(999, 1);
fail("Read error during getBytes.");
} catch (JavaScriptException jse) { }
byte[] bytes6a = blob6.slice(2).getBytes();
byte[] bytes6b = blob6.getBytes(2);
assertEquals(3, bytes6a.length);
assertEquals(3, bytes6b.length);
for (int i = 0; i < bytes6a.length; i++) {
assertEquals(bytes6a[i], bytes6b[i]);