File tree Expand file tree Collapse file tree
lib/stdlib/test/shell_docs_SUITE_data Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ This datatype is used to represent data that is meant to be output using
148148any I/O module. For example: ` file:write/2 ` or ` gen_tcp:send/2 ` .
149149
150150To convert an ` t:iodata/0 ` term to ` t:binary/0 ` you can use
151- [ iolist_to_binary/2 ] ( `iolist_to_binary/1` ) . To transcode a ` t:string/0 ` or
151+ [ iolist_to_binary/1 ] ( `iolist_to_binary/1` ) . To transcode a ` t:string/0 ` or
152152` t:unicode:chardata/0 ` to ` t:iodata/0 ` you can use ` unicode:characters_to_binary/1 ` .
153153""" .
154154-type iodata () :: iolist () | binary ().
Original file line number Diff line number Diff line change 1515 [;;4mgen_tcp:send/2[0m.
1616
1717 To convert an [;;4miodata/0[0m term to [;;4mbinary/0[0m you can use
18- iolist_to_binary/2 . To transcode a [;;4mstring/0[0m or [;;4m[0m
18+ iolist_to_binary/1 . To transcode a [;;4mstring/0[0m or [;;4m[0m
1919 [;;4municode:chardata/0[0m to [;;4miodata/0[0m you can use [;;4m[0m
2020 [;;4municode:characters_to_binary/1[0m.
You can’t perform that action at this time.
0 commit comments