i = new MemoryCacheImageInputStream(bs);
// Test ByteOrder.BIG_ENDIAN, the default.
h.check(i.read() == 146);
i.seek(0);
h.check(i.readBoolean() == true);
i.seek(0);
h.check(i.readByte() == -110);
i.seek(0);
h.check(i.readChar() == '\u9280');
i.seek(0);