code: public InputStream getContents() {
          final byte[] copy;
          synchronized (this) {
              final int length = this.contents.length;
              copy = new byte[length];
              System.arraycopy(this.contents, 0, copy, 0, this.contents.length);
          }
          return new ByteArrayInputStream(copy);
      }
docs: Obtain a copy of the contents of this {@link Channel} as an {@link InputStream}
  
  @return