Daylight v4.9
Release Date: 1 February 2008

Name

dt_binary2asciilen - retrieve the length of an ascii representation of a binary string

Generic Prototype

dt_binary2asciilen(dt_String) => dt_Integer

C Prototype

#include "dt_smiles.h"

dt_Integer dt_binary2asciilen(dt_Integer strlen, dt_String string)

FORTRAN Prototype

include 'dt_f_smiles.inc'

integer*4 dt_f_binary2asciilen(string)

character*() string

Description

Calculates the length of the string that dt_binary2ascii would return. Does not allocate any objects.

Return Value

Returns the length, or -1 if an error is detected.

Related Topics

dt_alloc_string(3) dt_ascii2binary(3) dt_binary2ascii(3)