Skip to content

Instantly share code, notes, and snippets.

@boxofrad
Created November 3, 2016 20:13
Show Gist options
  • Save boxofrad/e30593ccb46a15293d95ca964bf74f0b to your computer and use it in GitHub Desktop.
Save boxofrad/e30593ccb46a15293d95ca964bf74f0b to your computer and use it in GitHub Desktop.
def ihl
bytes[0] & 0xF
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment