public final class NioBufferedFileInputStream
InputStream implementation which uses direct buffer
to read a file to avoid extra copy of data between Java and
native memory which happens when using BufferedInputStream.
Unfortunately, this is not something already available in JDK,
ChannelInputStream supports reading a file using nio,
but does not support buffering.