SDK Home Glossary Index Left Right Up

Byte order


Section contents


Overview

Defined in

csocket.oxh


Methods provided


ByteOrderSwap16

Usage

value% = ByteOrderSwap16%:(value%)

Description

Reverses the order of the 2 bytes which make up the value.

Arguments
value% The value to swap
Return value
value% The swapped value

ByteOrderSwap32

Usage

value& = ByteOrderSwap32&:(value&)

Description

Reverses the order of the 4 bytes which make up the value

Arguments
value& The value to swap
Return value
value& The swapped value

  SDK Home Glossary Index Left Right Up