class FFI::Pointer
def read_string(len=nil)
-
(String)
-
Parameters:
-
len
(nil, Numeric
) -- length of string to return
def read_string(len=nil) if len get_bytes(0, len) else get_string(0) end end
(String)
-
len
(nil, Numeric
)
-- length of string to return
def read_string(len=nil) if len get_bytes(0, len) else get_string(0) end end