docs: public byte[] getBytes() {
          if (!changed) {
              return buf;
          }
          
          byte[] newBuf = new byte[bufLen];
          System.arraycopy(buf, 0, newBuf, 0, bufLen);
          buf = newBuf;
          return buf;
      }