svoid verifyInputStream(InputStream in, byte[] data) { int n = l(data); for i to n: assertEquals("Byte " + i, ubyteToInt(data[i]), stream.read()); }