code: public static void eachByte(Path self, int bufferLen, @ClosureParams(value = FromString.class, options = "byte[],Integer") Closure closure) throws IOException {
          BufferedInputStream is = newInputStream(self);
          IOGroovyMethods.eachByte(is, bufferLen, closure);
      }
docs: Traverse through the bytes of this Path, bufferLen bytes at a time.
  
  @param self      a Path
  @param bufferLen the length of the buffer to use.
  @param closure   a 2 parameter closure which is passed the byte[] and a number of bytes successfully read.
  @throws java.io.IOException if an IOException occurs.
  @see org.codehaus.groovy.runtime.IOGroovyMethods#eachByte(java.io.InputStream, int, groovy.lang.Closure)
  @since 2.3.0