"nsinputstream getbuffer: length: doesn't work?" Code Answer

30

Darwin is open source, so "the truth is out there". The source for NSStream shows that GSInetInputStream is the class that implements a NSInputStream for a socket, and the implementation of getBuffer:length: for that class answers the question succinctly:

- (BOOL) getBuffer: (uint8_t **)buffer length: (unsigned int *)len
{
  return NO;
}

Found here.

By Julian Chan on March 4 2022

Answers related to “nsinputstream getbuffer: length: doesn't work?”

Only authorized users can answer the Search term. Please sign in first, or register a free account.