![]() |
cgetflen | Function (ROM Call 0x12D) |
cert.h |
unsigned long cgetflen (CFILE *context, unsigned short FieldIDWord); |
Gets the length of a field.
cgetflen returns length of the field which has ID word (see cread) equal to FieldIDWord. This information is present in lower 4 bits of FieldIDWord if these bits are smaller or equal to 0xC. If not, necessary information needed to calculate the length are read from the context pointed to by context. cgetflen returns 0 if the end of the file is reached.