MCPcopy Create free account
hub / github.com/Snapchat/Valdi / varint

Method varint

valdi_protobuf/src/valdi_protobuf/Field.cpp:839–843  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

837}
838
839Field Field::varint(uint64_t varint) {
840 Field::FieldStorage storage;
841 storage.varint = varint;
842 return Field(storage, InternalType::Varint, 0);
843}
844
845Field Field::fixed64(uint64_t fixed64) {
846 Field::FieldStorage storage;

Callers

nothing calls this directly

Calls 1

FieldClass · 0.70

Tested by

no test coverage detected