Class: FFI::AbstractMemory
- Inherits:
-
Object
- Object
- FFI::AbstractMemory
- Defined in:
- lib/evoasm/ffi_ext.rb
Instance Method Summary collapse
Instance Method Details
#read_size_t ⇒ Object
33 34 35 36 37 38 39 40 41 42 43 44 |
# File 'lib/evoasm/ffi_ext.rb', line 33 def read_size_t case FFI.find_type :size_t when FFI::Type::Builtin::ULONG_LONG read_ulong_long when FFI::Type::Builtin::ULONG read_ulong when FFI::Type::Builtin::UINT read_uint else raise end end |