Reads a message in the buffer array from the file opened with codes_open_file. More...
Public Member Functions | |
subroutine | codes_read_from_file_int4 (ifile, buffer, nbytes, status) |
Reads a message in the buffer array from the file opened with codes_open_file. More... | |
subroutine | codes_read_from_file_int4_size_t (ifile, buffer, nbytes, status) |
Reads a message in the buffer array from the file opened with codes_open_file. More... | |
subroutine | codes_read_from_file_char (ifile, buffer, nbytes, status) |
Reads a message in the buffer array from the file opened with codes_open_file. More... | |
subroutine | codes_read_from_file_char_size_t (ifile, buffer, nbytes, status) |
Reads a message in the buffer array from the file opened with codes_open_file. More... | |
Reads a message in the buffer array from the file opened with codes_open_file.
In case of error, if the status parameter (optional) is not given, the program will exit with an error message.
Otherwise the error message can be gathered with codes_get_error_string.
ifile | id of the opened file to be used in all the file functions. |
buffer | buffer to be read |
nbytes | number of bytes to be read |
status | CODES_SUCCESS if OK, integer value on error |
subroutine codes_read_from_file_char | ( | integer(kind=kindofint), intent(in) | ifile, |
character(len=1), dimension(:), intent(out) | buffer, | ||
integer(kind=kindofint), intent(inout) | nbytes, | ||
integer(kind=kindofint), intent(out), optional | status | ||
) |
Reads a message in the buffer array from the file opened with codes_open_file.
In case of error, if the status parameter (optional) is not given, the program will exit with an error message.
Otherwise the error message can be gathered with codes_get_error_string.
ifile | id of the opened file to be used in all the file functions. |
buffer | buffer to be read |
nbytes | number of bytes to be read |
status | CODES_SUCCESS if OK, integer value on error |
subroutine codes_read_from_file_char_size_t | ( | integer(kind=kindofint), intent(in) | ifile, |
character(len=1), dimension(:), intent(out) | buffer, | ||
integer(kind=kindofsize_t), intent(inout) | nbytes, | ||
integer(kind=kindofint), intent(out), optional | status | ||
) |
Reads a message in the buffer array from the file opened with codes_open_file.
In case of error, if the status parameter (optional) is not given, the program will exit with an error message.
Otherwise the error message can be gathered with codes_get_error_string.
ifile | id of the opened file to be used in all the file functions. |
buffer | buffer to be read |
nbytes | number of bytes to be read |
status | CODES_SUCCESS if OK, integer value on error |
subroutine codes_read_from_file_int4 | ( | integer(kind=kindofint), intent(in) | ifile, |
integer(kind=4), dimension(:), intent(out) | buffer, | ||
integer(kind=kindofint), intent(inout) | nbytes, | ||
integer(kind=kindofint), intent(out), optional | status | ||
) |
Reads a message in the buffer array from the file opened with codes_open_file.
In case of error, if the status parameter (optional) is not given, the program will exit with an error message.
Otherwise the error message can be gathered with codes_get_error_string.
ifile | id of the opened file to be used in all the file functions. |
buffer | binary buffer to be read |
nbytes | number of bytes to be read |
status | CODES_SUCCESS if OK, integer value on error |
subroutine codes_read_from_file_int4_size_t | ( | integer(kind=kindofint), intent(in) | ifile, |
integer(kind=4), dimension(:), intent(out) | buffer, | ||
integer(kind=kindofsize_t), intent(inout) | nbytes, | ||
integer(kind=kindofint), intent(out), optional | status | ||
) |
Reads a message in the buffer array from the file opened with codes_open_file.
In case of error, if the status parameter (optional) is not given, the program will exit with an error message.
Otherwise the error message can be gathered with codes_get_error_string.
ifile | id of the opened file to be used in all the file functions. |
buffer | binary buffer to be read |
nbytes | number of bytes to be read |
status | CODES_SUCCESS if OK, integer value on error |