Skip to content

Commit

Permalink
Convert endian converter docstrings to imperative form (#27199)
Browse files Browse the repository at this point in the history
  • Loading branch information
bovine3dom authored and fredrikekre committed May 22, 2018
1 parent d71f5db commit 5bc09d0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions base/io.jl
Original file line number Diff line number Diff line change
Expand Up @@ -448,28 +448,28 @@ ENDIAN_BOM
"""
ntoh(x)
Converts the endianness of a value from Network byte order (big-endian) to that used by the Host.
Convert the endianness of a value from Network byte order (big-endian) to that used by the Host.
"""
ntoh(x)

"""
hton(x)
Converts the endianness of a value from that used by the Host to Network byte order (big-endian).
Convert the endianness of a value from that used by the Host to Network byte order (big-endian).
"""
hton(x)

"""
ltoh(x)
Converts the endianness of a value from Little-endian to that used by the Host.
Convert the endianness of a value from Little-endian to that used by the Host.
"""
ltoh(x)

"""
htol(x)
Converts the endianness of a value from that used by the Host to Little-endian.
Convert the endianness of a value from that used by the Host to Little-endian.
"""
htol(x)

Expand Down

0 comments on commit 5bc09d0

Please sign in to comment.