+
Point of view
All features
class BINARY_FILE_WRITE
Summary
Overview
creation features
  • make
    The new created object is not connected.
  • connect_to (new_path: STRING)
    Truncate file to zero length or create binary file for writing.
  • connect_for_appending_to (new_path: STRING)
    Truncate file to zero length or create binary file for writing.
features
  • path: STRING
    Not Void when connected to the corresponding file on the disk.
  • is_connected: BOOLEAN
    Is this file connected to some file of the operating system?
connect_to (new_path: STRING)
effective procedure
Truncate file to zero length or create binary file for writing.
connect_for_appending_to (new_path: STRING)
effective procedure
Truncate file to zero length or create binary file for writing.
flush
effective procedure
forces a write of unwritten character (write my have been delayed, flush writes buffered characters)
disconnect
effective procedure
Disconnect from any file.
put_byte (byte: INTEGER_32)
effective procedure
put_integer_16_native_endian (i: INTEGER_16)
effective procedure
Write in the same order as the machine running this code.
put_integer_16_big_endian (i: INTEGER_16)
effective procedure
Write i in big endian mode.
put_integer_16_little_endian (i: INTEGER_16)
effective procedure
Write i in little endian mode.
put_integer_32_native_endian (i: INTEGER_32)
effective procedure
Write in the same order as the machine running this code.
put_integer_32_big_endian (i: INTEGER_32)
effective procedure
Write i in big endian mode.
put_integer_32_little_endian (i: INTEGER_32)
effective procedure
Write i in little endian mode.
writable attribute
buffer_position: INTEGER_32
writable attribute
capacity: INTEGER_32
writable attribute
output_stream: POINTER
writable attribute
make
effective procedure
The new created object is not connected.
dispose
effective procedure
Action to be executed just before garbage collection reclaims an object.
write_buffer
effective procedure
put_16_ne (buf: NATIVE_ARRAY[CHARACTER], i: INTEGER_16, ch_pos: INTEGER_32)
put_16_le (buf: NATIVE_ARRAY[CHARACTER], i: INTEGER_16, ch_pos: INTEGER_32)
put_16_be (buf: NATIVE_ARRAY[CHARACTER], i: INTEGER_16, ch_pos: INTEGER_32)
put_32_ne (buf: NATIVE_ARRAY[CHARACTER], i: INTEGER_32, ch_pos: INTEGER_32)
put_32_le (buf: NATIVE_ARRAY[CHARACTER], i: INTEGER_32, ch_pos: INTEGER_32)
put_32_be (buf: NATIVE_ARRAY[CHARACTER], i: INTEGER_32, ch_pos: INTEGER_32)
binary_file_write_open (path_pointer: POINTER): POINTER
binary_file_write_append (path_pointer: POINTER): POINTER
putc (byte: CHARACTER, stream: POINTER)
fwrite (buf: NATIVE_ARRAY[CHARACTER], size: INTEGER_32, stream: POINTER)
io_flush (stream_pointer: POINTER)
fclose (stream_pointer: POINTER)
path: STRING
writable attribute
Not Void when connected to the corresponding file on the disk.
is_connected: BOOLEAN
effective function
Is this file connected to some file of the operating system?