Skip to main content

أسماء بديلة

  • writefileasync

الوسائط

string
مطلوب
File path يتم حله داخل workspace بعد separator normalization و workspace-boundary checks و filename/extension checks. Absolute paths مقبولة فقط اذا كانت resolve داخل workspace.
string
مطلوب
Lua string bytes التي ستكتب. تتم كتابة البيانات في binary truncate mode؛ writefile لا يضيف newlines أو BOM bytes أو null terminators أو أي extra bytes أخرى.

مثال

اكتب bytes إلى workspace file واستبدل أي existing contents.