Method: HardsploitAPI.highByte
- Defined in:
- lib/HardsploitAPI/Core/HardsploitAPI_USB_COMMUNICATION.rb
.highByte(word:) ⇒ Object
Obtain high byte of a word
word
-
16 bit word
Return high byte of the word
85 86 87 |
# File 'lib/HardsploitAPI/Core/HardsploitAPI_USB_COMMUNICATION.rb', line 85 def self.highByte(word:) return (word & 0xFF00) >> 8 end |