Function screeps::raw_memory::set

source ·
pub fn set(val: &JsString)
Expand description

Overwrite the stored memory with a new JsString. Maximum allowed size MEMORY_SIZE_LIMIT UTF-16 units.

Screeps documentation