bytes_create Interface

public interface bytes_create

Creates a bytes object from Fortran character string or character array.



Module Procedures

private function bytes_create_chars(r, string) result(ierror)

Arguments

Type IntentOptional AttributesName
type(bytes), intent(out) :: r
character(kind=C_CHAR,len=*), intent(in) :: string

Return Value integer(kind=C_INT)

private function bytes_create_char_1d(r, string) result(ierror)

Arguments

Type IntentOptional AttributesName
type(bytes), intent(out) :: r
character(kind=C_CHAR), intent(in), dimension(:):: string

Return Value integer(kind=C_INT)