Skip to content

Commit 731a90d

Browse files
committed
update doc
1 parent 7aed182 commit 731a90d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

doc/TYPES.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -230,11 +230,15 @@ Create new user data object with string context and specified length.
230230
#### Member variables
231231

232232
* data (user data | void *)
233-
* str (string | readonly)
234233

235234
#### Methods
236235

237-
N/A
236+
* str(size)
237+
> Returns string data in specified size.
238+
239+
``` lua
240+
local str = data:str(16)
241+
```
238242

239243

240244
### IntData

0 commit comments

Comments
 (0)