com.livecode.byte

Typemodule
DictionaryLCB
LibraryLiveCode Builder
Associationscom.livecode.byte
Summary

This library consists of the operations on bytes included in the standard library of LiveCode Builder.

Description

This library consists of the operations on bytes included in the standard library of LiveCode Builder.

TypeNameSummarySyntax
iteratorRepeatForEachByte

Repeat over the bytes of some data

byte <Iterand>

modulecom.livecode.byte

This library consists of the operations on bytes included in the standard library of LiveCode Builder.

byte <Iterand>

operatorBeginsWithBytes

Determines whether Target begins with Needle.

<Target> begins with <Needle>

- - -ByteIsInData

Determines whether Needle is in Target.

<Needle> is in <Target>

- - -ByteOffset

Finds the first or last occurrence of Needle within Target

the ( first | last ) offset of <Needle> in <Target>

- - -ByteOffsetAfter

Finds the first or last occurrence of Needle after a specified index in Target

the ( first | last ) offset of <Needle> after <After> in <Target>

- - -ByteOffsetBefore

Finds the first or last occurrence of Needle before a specified index in Target.

the ( first | last ) offset of <Needle> before <Before> in <Target>

- - -ByteWithCode

Create a 1-byte data value from a number

the byte with code <Value>

- - -CodeOfByte

Get the numeric value of a single byte.

the code of <Target>

- - -ContainsBytes

Determines whether Needle contains Target.

<Target> contains <Needle>

- - -CountBytesOf

Counts the number of bytes in Target.

the number of bytes in <Target>

- - -EndsWithBytes

Determines whether Target ends with Needle.

<Target> ends with <Needle>

- - -FirstByteOf

Designates the first byte of data in Target.

the first byte of <Target>

- - -LastByteOf

Designates the first byte of data in Target.

the last byte of <Target>

- - -RandomBytes

Generate random data

<Count> random bytes

- - -RangeByteOf

Designates the bytes of data between indices Start and Finish in Target.

byte <Start> to <Finish> of <Target>

- - -SingletonByteOf

Designates the byte of data at index Index in Target.

byte <Index> of <Target>

statementDeleteFirstByteOf

Deletes the first byte in Target.

delete the first byte of <Target>

- - -DeleteLastByteOf

Deletes the last byte in Target.

delete the last byte of <Target>

- - -DeleteRangeByteOf

Deletes the bytes of data between indices Start and Finish in Target.

delete byte <Start> to <Finish> of <Target>

- - -DeleteSingletonByteOf

Deletes the byte of data at index Index in Target.

delete byte <Index> of <Target>

- - -ReverseBytesOf

Reverse binary data

reverse <Target>