public static FixedString4096 NativeArrayToString <T>(NativeArray <T> arr) where T : unmanaged { var str = new FixedString4096(); foreach (var val in arr) { str.Append(val.ToString()); str.Append("\n"); } return(str); }
/** * Deserialize a string view into the string buffer */ JsonKeyHandle DeserializeToStringBuffer(SerializedStringView stringView) { FixedString4096 fs = default; fs.Append(stringView.ToString()); m_StringBuffer.Add(fs); return(new JsonKeyHandle(ref this, JsonValueType.String, m_StringBuffer.Length - 1)); }