MCPcopy Create free account
hub / github.com/Tablecruncher/tablecruncher / pack16

Method pack16

src/helper.cpp:704–706  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

702 return (uint32_t) c0 | ((uint32_t) c1 << 8) | ((uint32_t) c2 << 16) | ((uint32_t) c3 << 24);
703}
704uint16_t Helper::pack16(uint8_t c0, uint8_t c1) {
705 return (uint32_t) c0 | ((uint32_t) c1 << 8);
706}
707
708
709// Converts High- and Low-Surrogate to UTF-8 code units, stored in a std::string

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected