@ NotNull private static String getReaderString ( final @ NotNull RandomAccessReader reader , final int makernoteOffset , final int bytesRequested ) throws IOException { try { return reader . getString ( makernoteOffset , bytesRequested , Charsets . UTF_8 ) ; } catch ( BufferBoundsException e ) { return "" ; } }
Read a given number of bytes from the stream