byte access (get/set) by index.
Get byte value by index.
Zero based index.
Compares against another value.
The value to compare.
A number indicating this value and another compare to each other:
Copy part of the buffer into a new buffer.
Optional
pos: numberStart position, inclusive.
Optional
end: numberEnd poisiton, exclusive.
A new lbuffer.
Move part of buffer to a new position.
Destination position.
Start position, inclusive.
Optional
end: numberend position, exclusive.
Removes part of the buffer.
Optional
pos: numberStart position, inclusive.
Optional
end: numberEnd poisiton, exclusive.
Swap between two slices.
Position of part 1, inclusive.
End of part 1, exclusive.
Position of part 2, inclusive.
Optional
e2: numberEnd of part 2, exclusive.
Convert to lower case.
Convert part of the buffer into a lua string.
Optional
pos: numberPosition
Optional
len: numberLength
The resulting string.
Convert to upper case.
Buffer object used with I/O API.
Remarks
The indices parameters are all zero based with TypeScript API.