Skip to content

Commit

Permalink
doc: fix return type of ArrayBuffer::Data
Browse files Browse the repository at this point in the history
PR-URL: #552
Reviewed-By: NickNaso <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: Gabriel Schulhof <[email protected]>
  • Loading branch information
tniessen authored and mhdawson committed Oct 23, 2019
1 parent 34c11cf commit b513d1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/array_buffer.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ Returns the length of the wrapped data, in bytes.
### Data

```cpp
T* Napi::ArrayBuffer::Data() const;
void* Napi::ArrayBuffer::Data() const;
```

Returns a pointer the wrapped data.

0 comments on commit b513d1a

Please sign in to comment.