code: @Override
    public IoBuffer fill(byte value, int size) {
      autoExpand(size);
      int q = size >>> 3;
      int r = size & 7;
  
      if (q > 0) {
        int intValue = value | value << 8 | value << 16 | value << 24;
        long longValue = intValue;
        longValue <<= 32;
        longValue |= intValue;
  
        for (int i = q; i > 0; i--) {
          putLong(longValue);
        }
      }
  
      q = r >>> 2;
      r = r & 3;
  
      if (q > 0) {
        int intValue = value | value << 8 | value << 16 | value << 24;
        putInt(intValue);
      }
  
      q = r >> 1;
      r = r & 1;
  
      if (q > 0) {
        short shortValue = (short) (value | value << 8);
        putShort(shortValue);
      }
  
      if (r > 0) {
        put(value);
      }
  
      return this;
    }
docs: {@inheritDoc}