docs: public Message setBuffer(Buffer buf) {
          if(buf != null) {
              this.buf=buf.getBuf();
              this.offset=buf.getOffset();
              this.length=buf.getLength();
          }
          return this;
      }