MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / readOneChar

Method readOneChar

src/common/IntlUtil.cpp:649–664  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

647
648
649bool IntlUtil::readOneChar(Jrd::CharSet* cs, const UCHAR** s, const UCHAR* end, ULONG* size)
650{
651 (*s) += *size;
652
653 if (*s >= end)
654 {
655 (*s) = end;
656 *size = 0;
657 return false;
658 }
659
660 UCHAR c[sizeof(ULONG)];
661 *size = cs->substring(end - *s, *s, sizeof(c), c, 0, 1);
662
663 return true;
664}
665
666
667// Add COLL-VERSION attribute.

Callers

nothing calls this directly

Calls 1

substringMethod · 0.80

Tested by

no test coverage detected