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