Low-level creation a new buffer with given data.

_items will be used as is, without copy, to store the characters of the buffer. Aliasing issues is the responsibility of the caller.

If _items is shared, written should be set to true after the creation so that a modification will do a copy-on-write.

Property definitions

core $ FlatBuffer :: with_infos
	# Low-level creation a new buffer with given data.
	#
	# `_items` will be used as is, without copy, to store the characters of the buffer.
	# Aliasing issues is the responsibility of the caller.
	#
	# If `_items` is shared, `written` should be set to true after the creation
	# so that a modification will do a copy-on-write.
	private init with_infos(items: CString, capacity, byte_length, length: Int)
	do
		self._items = items
		self.capacity = capacity
		self._byte_length = byte_length
		self._length = length
	end
lib/core/text/flat.nit:1030,2--1043,4