Static Public Member Functions | List of all members
BinaryFile Class Reference

Inherits ScriptObject.

Static Public Member Functions

static String loadBinary (String path)
 
static saveBinary (String path, String data)
 

Detailed Description

Class for binary file load and save.

Security: Requires security level 0.

Since
41349

Member Function Documentation

◆ loadBinary()

static String loadBinary ( String  path)
static

Load binary file as string.

Parameters
pathThe path of the file.
Returns
Returns string with each byte represented as its own character.

◆ saveBinary()

static saveBinary ( String  path,
String  data 
)
static

Save string as binary file. Each byte must be represented as its own character.

Parameters
pathThe path of the file.
dataSpecifies if the data to write.


Generated by Autodesk, Inc. 19 April 2024
Copyright (c) 2012-2024 by Autodesk, Inc.