MCPcopy Create free account
hub / github.com/IoLanguage/io / BStream_writeCString_

Function BStream_writeCString_

libs/basekit/source/BStream.c:143–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143void BStream_writeCString_(BStream *self, const char *s) {
144 size_t length = strlen(s);
145 BStream_writeInt32_(self, (int32_t)length);
146 BStream_writeData_length_(self, (unsigned char *)s, length);
147}
148
149void BStream_writeUArray_(BStream *self, UArray *ba) {
150 BStream_writeInt32_(self, (int32_t)UArray_size(ba));

Callers

nothing calls this directly

Calls 2

BStream_writeInt32_Function · 0.85

Tested by

no test coverage detected