CciByte cpiBufferByte( int* returnCode, CciParser* parser, CciSize index);
요청된 바이트가 리턴됩니다. 오류가 발생할 경우, returnCode는 오류의 이유를 표시합니다.
다음 예는 샘플 구문 분석기 파일 BipSampPluginParser.c에서 발췌한 것입니다(61 - 75 행).
void advance( PARSER_CONTEXT_ST* context, CciParser* parser ){ int rc = 0; /* Advance to the next character */ context->iIndex++; /* Detect and handle the end condition */ if (context->iIndex == context->iSize) return; /* Obtain the next character from the buffer */ context->iCurrentCharacter = cpiBufferByte(&rc, parser, context->iIndex); }