class FFI::Pointer

def read_string_length(len)

Returns:
  • (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)