-
Notifications
You must be signed in to change notification settings - Fork 0
ReadBit
StackZ edited this page Jun 17, 2021
·
1 revision
UniversalEdit.ReadBit(Offset, BitIndex);
This function expects 2 parameters.
- Offset: The offset from where to start to read from the current file.
- BitIndex: The Bit Index to read from ( 0 - 7 ).
-- The line below will read the 5th Bit Index from Offset 0x50.
local Bit = UniversalEdit.ReadBit(0x50, 4); -- Do NOTE, that the bit indexes start at 0, so if you are reading the last bit which would be `8` you need to access `7`.