
## __init__ {#int}

Initializes a new instance of the [`ArrayBuffer`](/html/python-net/aspose.html/arraybuffer) class.



```python
def __init__(self, length):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| length | int | The size, in bytes, of the array buffer to create. |


## __init__ {#bytes}

Initializes a new instance of the [`ArrayBuffer`](/html/python-net/aspose.html/arraybuffer) class.



```python
def __init__(self, data):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| data | bytes | The raw binary data. |



### See Also
* module [`aspose.html`](../../)
* class [`ArrayBuffer`](/html/python-net/aspose.html/arraybuffer)
