<write-binary>
Purpose/Function
Write binary values for primitives to file.
Attributes
NAME |
TYPE |
DEFAULT VALUE |
DESCRIPTION |
---|---|---|---|
path |
|
required |
file to write to |
append |
|
|
if |
mode |
|
"rw" |
one of the options listed below for |
Random Access Modes:
- "rw": open for reading and writing. If the file does not already exist then an attempt will be made to create it.
- "rws": open for reading and writing, as with "rw", and also require that every update to the file's content or metadata be written synchronously to the underlying storage device.
- "rwd": open for reading and writing, as with "rw", and also require that every update to the file's content be written synchronously to the underlying storage device.
Elements
TAG |
TYPE |
COUNT |
DESCRIPTION |
---|---|---|---|
|
|
0:N |
value to add to the list |
|
|
0:N |
value to add to the list |
|
|
0:N |
value to add to the list |
|
|
0:N |
value to add to the list |
|
|
0:N |
entire list of values to write (will be added to the main list) |
ReturnValues
None.
Examples
... <write-binary path="file.bin" mode="rwd"> <long>-4089299943432</long> <values> <value type="double">4.2408</value> <value type="int">-24</value> <values> </write-binary>