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

Function bytesFromString

libs/image_toolbox/test/SVGRenderer_tests.cpp:8–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6namespace snap::imagetoolbox {
7
8static const Valdi::Byte* bytesFromString(const char* value) {
9 return reinterpret_cast<const Valdi::Byte*>(value);
10}
11
12TEST(SVGRenderer, getSizeReturnsIntrinsicDimensions) {
13 const char* svg = "<svg width=\"24\" height=\"16\" xmlns=\"http://www.w3.org/2000/svg\"></svg>";

Callers 1

TESTFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected