MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / packString

Method packString

src/game/NetMessage.cpp:294–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

292
293
294void NetMessage::packString(const char* val, int len) {
295 checkData(len);
296 nboPackString(getWriteBuffer(), val, len);
297 dataSize += len;
298}
299
300
301void NetMessage::packStdString(const std::string& str) {

Callers 10

packIdMethod · 0.80
sendRejectPlayerMessageFunction · 0.80
sendWorldChunkFunction · 0.80
sendTextMessageFunction · 0.80
sendPlayerMessageFunction · 0.80
bz_sendFetchResMessageFunction · 0.80
executeMethod · 0.80
executeMethod · 0.80
sendPacketsMethod · 0.80
packAdminInfoMethod · 0.80

Calls 1

nboPackStringFunction · 0.85

Tested by

no test coverage detected