Write len bytes from ns

Property definitions

core $ Writer :: write_bytes_from_cstring
	# Write `len` bytes from `ns`
	fun write_bytes_from_cstring(ns: CString, len: Int) is abstract
lib/core/stream.nit:528,2--529,64

core $ BytesWriter :: write_bytes_from_cstring
	redef fun write_bytes_from_cstring(ns, len) do
		if closed then return
		bytes.append_ns(ns, len)
	end
lib/core/stream.nit:660,2--663,4

libevent $ Connection :: write_bytes_from_cstring
	redef fun write_bytes_from_cstring(ns, len)
	do
		if close_requested then return
		native_buffer_event.write(ns, len)
	end
lib/libevent/libevent.nit:245,2--249,4

core $ FileWriter :: write_bytes_from_cstring
	redef fun write_bytes_from_cstring(cs, len) do
		if last_error != null then return
		if not _is_writable then
			last_error = new IOError("cannot write to non-writable stream")
			return
		end
		write_native(cs, 0, len)
	end
lib/core/file.nit:212,2--219,4

core $ WriterProtocol :: write_bytes_from_cstring
	redef fun write_bytes_from_cstring(ns, len) do
		origin.write_bytes_from_cstring(ns, len)
	end
lib/core/protocol.nit:51,2--53,4

socket $ TCPStream :: write_bytes_from_cstring
	redef fun write_bytes_from_cstring(ns, len) do
		if closed then return
		native.write(ns, len)
	end
lib/socket/socket.nit:188,2--191,4

websocket $ WebsocketConnection :: write_bytes_from_cstring
	redef fun write_bytes_from_cstring(ns, len) do
		origin.write_bytes(frame_message(ns.to_s_unsafe(len)))
	end
lib/websocket/websocket.nit:282,2--284,4