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

Function writeInt32

valdi_protobuf/test/Field_tests.cpp:363–365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

361}
362
363static void writeInt32(google::protobuf::io::CodedOutputStream* outputStream, int32_t value) {
364 outputStream->WriteVarint32(static_cast<uint32_t>(value));
365}
366
367static void writeFloat(google::protobuf::io::CodedOutputStream* outputStream, float value) {
368 outputStream->WriteLittleEndian32(*reinterpret_cast<uint32_t*>(&value));

Callers 2

walkViewNodeMethod · 0.85
writeViewNodeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected