MCPcopy Create free account
hub / github.com/F-Stack/f-stack / rioWriteBulkLongLong

Function rioWriteBulkLongLong

app/redis-6.2.6/src/rio.c:433–439  ·  view source on GitHub ↗

Write a long long value in format: "$ \r\n \r\n". */

Source from the content-addressed store, hash-verified

431
432/* Write a long long value in format: "$<count>\r\n<payload>\r\n". */
433size_t rioWriteBulkLongLong(rio *r, long long l) {
434 char lbuf[32];
435 unsigned int llen;
436
437 llen = ll2string(lbuf,sizeof(lbuf),l);
438 return rioWriteBulkString(r,lbuf,llen);
439}
440
441/* Write a double value in the format: "$<count>\r\n<payload>\r\n" */
442size_t rioWriteBulkDouble(rio *r, double d) {

Callers 8

migrateCommandFunction · 0.85
rioWriteBulkObjectFunction · 0.85
rewriteListObjectFunction · 0.85
rewriteSetObjectFunction · 0.85
rewriteSortedSetObjectFunction · 0.85
rewriteAppendOnlyFileRioFunction · 0.85

Calls 2

ll2stringFunction · 0.85
rioWriteBulkStringFunction · 0.85

Tested by

no test coverage detected