<div dir="ltr"><div dir="ltr">Is it possible to model C-Strings with MemoryLayouts?</div><div dir="ltr"><br><div>I was thinking of using "MemoryLayout.sequenceLayout(0, C_CHAR)" and computing the</div><div>length at runtime, plus manually adding the null-terminator.</div><div><br></div><div>Would this work alright, or is there some better way to do this?</div></div></div>