htons

Undocumented in source. Be warned that the author may not have intended to support it.
  1. T htons(T value)
    T
    htons
    (
    T
    )
    ()
    if (
    T.sizeof == 2
    )
  2. ushort htons(ushort value)

Meta