---
displayed_sidebar: servicesSidebar
---

import ParameterTypes from "@site/src/components/ParameterTypes"

# SharedArrayBuffer

## Properties

<ParameterTypes parameters={[
  {
    "name": "[species]",
    "type": "[`SharedArrayBuffer`](../index.md#sharedarraybuffer)",
    "description": "",
    "optional": false,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "[toStringTag]",
    "type": "``\"SharedArrayBuffer\"``",
    "description": "",
    "optional": false,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "byteLength",
    "type": "`number`",
    "description": "Read-only. The length of the ArrayBuffer (in bytes).",
    "optional": false,
    "defaultValue": "",
    "expandable": false,
    "children": []
  }
]} />

## Methods

### slice

**slice**(`begin`, `end?`): [`SharedArrayBuffer`](../index.md#sharedarraybuffer)

Returns a section of an SharedArrayBuffer.

#### Parameters

<ParameterTypes parameters={[
  {
    "name": "begin",
    "type": "`number`",
    "description": "",
    "optional": false,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "end",
    "type": "`number`",
    "description": "",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  }
]} />

#### Returns

[`SharedArrayBuffer`](../index.md#sharedarraybuffer)

<ParameterTypes parameters={[
  {
    "name": "SharedArrayBuffer",
    "type": "[`SharedArrayBufferConstructor`](SharedArrayBufferConstructor.mdx)",
    "description": "",
    "optional": false,
    "defaultValue": "",
    "expandable": false,
    "children": []
  }
]} />
