Sets the binary mode to Big Endian. Big endian has the highest-value byte as the first byte in a memory address.

Nearly all desktop computers use little-endian, and little-endian is the default for Lacewing Webserver.

This action affects the Add to response > Binary > Short, and Add to response > Binary > Integer actions.

Endianness

In a short of value 30,000, the binary looks like:

0111 0101 0011 0000

^^^^ ^^^^            2 to the power of 0 through 7

          ^^^^ ^^^^  2 to the power of 8 through 15

This is called little-endian, because the lowest value bit (20) is at the start of the address.


In big-endian, as you may expect:

0011 0000 0111 0101 

^^^^ ^^^^            2 to the power of 8 through 15

          ^^^^ ^^^^  2 to the power of 0 through 7


Note the 8-bit bytes are swapped, but the actual bits are the same order inside the bytes.