MCPcopy Create free account
hub / github.com/Unity-Technologies/HLSLcc / bStr2NetStr

Function bStr2NetStr

src/cbstring/bstraux.c:269–286  ·  view source on GitHub ↗

char * bStr2NetStr (const_bstring b) * * Convert a bstring to a netstring. See * http://cr.yp.to/proto/netstrings.txt for a description of netstrings. * Note: 1) The value returned should be freed with a call to bcstrfree() at * the point when it will no longer be referenced to avoid a memory * leak. * 2) If the returned value is non-NULL, then it also '\0' te

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

bfromcstrFunction · 0.85
bconcatFunction · 0.85
bconcharFunction · 0.85
bdestroyFunction · 0.85
bcstrfreeFunction · 0.85

Tested by

no test coverage detected