Skip to content

Instantly share code, notes, and snippets.

@jarib
Created October 16, 2009 17:00
Show Gist options
  • Save jarib/211891 to your computer and use it in GitHub Desktop.
Save jarib/211891 to your computer and use it in GitHub Desktop.
ptr = FFI::MemoryPointer.new(:pointer)
ptr.put_string(0, "some string") # => IndexError: Memory access offset=0 size=18 is out of bounds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment