Skip to content

Commit

Permalink
Update networking-and-streams.rst
Browse files Browse the repository at this point in the history
`read(stream, array)` is deprecated in favor of read!()
  • Loading branch information
nsaphra committed Dec 16, 2014
1 parent 27c9adb commit 6d57cdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/manual/networking-and-streams.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ data to be read as the second argument. For example, to read a simple byte array
0x00
0x00

julia> read(STDIN,x)
julia> read!(STDIN,x)
abcd
4-element Array{UInt8,1}:
0x61
Expand Down

0 comments on commit 6d57cdc

Please sign in to comment.