get immutable() {
    return isBufferImmutable(this);
  }
Creates an immutable slice of the given buffer.

@this {ArrayBuffer} buffer The original buffer.
@param {number} [start] The start index.
@param {number} [end] The end index.
@returns {ArrayBuffer} The sliced immutable ArrayBuffer.