@Override public <T> T read(ByteProcessor<T> processor) throws IOException { processor.processBytes(array, 0, array.length); return processor.getResult(); }