// TODO: we do not create direct buffer yet, but this is something
// we may want to consider in a future SIS version.
}
final String name = getStorageName();
if (asImageInputStream) {
asDataInput = new ChannelImageInputStream(name, channel, buffer, false);
} else {
asDataInput = new ChannelDataInput(name, channel, buffer, false);
}
}
addView(ChannelDataInput.class, asDataInput);