Method: HardsploitAPI.lowByte

Defined in:
lib/HardsploitAPI/Core/HardsploitAPI_USB_COMMUNICATION.rb

.lowByte(word:) ⇒ Object

Obtain low byte of a word

  • word

    16 bit word

Return low byte of the word



78
79
80
# File 'lib/HardsploitAPI/Core/HardsploitAPI_USB_COMMUNICATION.rb', line 78

def self.lowByte(word:)
	return  word & 0xFF
end