Closes the underlying connection associated with a BinaryReader or BinaryWriter object. This should be called when you're done with the reader/writer to free system resources.
Examples
if (FALSE) { # \dontrun{
# Create and close a binary reader
reader <- BinaryReader("data.bin", byte_offset = 0L,
data_type = "double", bytes_per_element = 8L)
close(reader)
# Create and close a binary writer
writer <- BinaryWriter("output.bin", byte_offset = 0L,
data_type = "double", bytes_per_element = 8L)
close(writer)
} # }