Beispiel #1
0
int
bufWrChars(Buffer buf, int cc, String s)
{
	bufPutChars(buf, s, cc);

	return cc;
}
Beispiel #2
0
int
bufWrChars(Buffer buf, int cc, String s)
{
	bufPutChars(buf, strnToAsciiStatic(s,cc), cc);

	return cc;
}
Beispiel #3
0
int
bufWrBuffer(Buffer buf, Buffer b)
{
	int cc = bufPosition(b);

	bufPutSInt(buf, cc);
	bufPutChars(buf, bufChars(b), cc);

	return SINT_BYTES + cc;
}
Beispiel #4
0
int
bufWrString(Buffer buf, String s)
{
	int cc = strLength(s) + 1;

	bufPutSInt(buf, cc);
	bufPutChars(buf, s, cc);

	return SINT_BYTES + cc;
}