Ruby 3.1 リファレンスマニュアル > ライブラリ一覧 > ipaddrライブラリ > IPAddrクラス > hton
hton -> String
ネットワークオーダーのバイト列に変換します。