class FFI::Pointer

def read(type)

Returns:
  • (Object) -

Parameters:
  • type (Symbol, Type) -- of data to read
def read(type)
  get(type, 0)
end unless method_defined?(:read)