def copy_in_string string
      string_size = string.respond_to?(:bytesize) ? string.bytesize : string.size
      copy_in_bytes string, string_size if string
    end
def copy_in_string string
      string_size = string.respond_to?(:bytesize) ? string.bytesize : string.size
      copy_in_bytes string, string_size if string
    end
Initialize object

 @param message (optional)
 Makes a copy of the ruby +string+ into a native memory buffer so
 that libxs can send it. The underlying library will handle
 deallocation of the native memory buffer.

 Can only be initialized via #copy_in_string or #copy_in_bytes once.

 @param string