code: static int requireValidSizeUnsigned8(final int size) {
          if (size < 1) {
              throw new IllegalArgumentException("size(" + size + ") < 1");
          }
          if (size > Byte.SIZE) {
              throw new IllegalArgumentException("size(" + size + ") > " + Byte.SIZE);
          }
          return size;
      }
docs: Checks whether given size is valid for unsigned 8 bit integer. An {@code IllegalArgumentException} will be thrown
  if given value is not valid.
  
  @param size the size to check; must between {@code 1} and {@value Byte#SIZE}, both inclusive.
  @return given size.