class FFI::Pointer
def read_string_length(len)
-
(String)
-
Parameters:
-
len
(Integer
) -- length of string to return
def read_string_length(len) get_bytes(0, len) end unless method_defined?(:read_string_length)
(String)
-
len
(Integer
)
-- length of string to return
def read_string_length(len) get_bytes(0, len) end unless method_defined?(:read_string_length)