@Test
public void testBBCSSubsequence() {
ByteBuffer buf = ByteBuffer.wrap("This is a test".getBytes());
ByteBufferAsCharSequence bbcs = new ByteBufferAsCharSequence(buf);
CharSequence cs = bbcs.subSequence(5, 13);
assertEquals('i', cs.charAt(0));
assertEquals('s', cs.charAt(1));
assertEquals('s', cs.charAt(7));
// original still sane?