Lines Matching refs:buf
35 const uint8* buf = (const uint8*)buffer;
36 int payloadSize = size - buf[0]; // total length - header length
39 if (size == buf[0])
54 fInputBuffer.Write(&buf[buf[0]], payloadSize);
57 if ((buf[1] & 2) || (buf[1] & 1) != fID) {
58 fID = buf[1] & 1;
60 buf = (uint8*)fInputBuffer.Buffer();
61 fCurrentFrame->Write(buf, fInputBuffer.BufferLength());