Interface Random

    • Method Summary

      Modifier and Type Method Description
      void fill​(byte[] bytes)
      Fill the array of bytes with random values.
      void fill​(byte[] bytes, int start, int len)
      Fill part of bytes with random values.
    • Method Detail

      • fill

        void fill​(byte[] bytes)
        Fill the array of bytes with random values.
        Parameters:
        bytes - byte array to be filled.
      • fill

        void fill​(byte[] bytes,
                  int start,
                  int len)
        Fill part of bytes with random values.
        Parameters:
        bytes - byte array to be filled.
        start - index to start filling at.
        len - length of segment to fill.