public static void setBytes ( Path self , byte [ ] bytes ) throws IOException { IOGroovyMethods . setBytes ( Files . newOutputStream ( self ) , bytes ) ; }
Write the bytes from the byte array to the Path .