ReverseBytesOf

Typestatement
DictionaryLCB
LibraryLiveCode Builder
Syntax
reverse <Target>
Associationscom.livecode.byte
Summary

Reverse binary data

Parameters
NameTypeDescription
Target

A binary data string

Example
variable tForward
put 5 random bytes into tForward

variable tReversed
put tForward into tReversed
reverse tReversed

expect that the first byte of tForward is the last byte of tReversed
expect that the last byte of tForward is the first byte of tReversed
Description

Reverses the order of bytes in the Target.

Tagsbinary