Next: , Previous: Sockets.StreamSocket-accessing, Up: Sockets.StreamSocket


6.22.5 Sockets.StreamSocket: accessing-reading

nextAvailable: anInteger into: aCollection startingAt: pos
Place up to anInteger objects from the receiver into aCollection, starting from position pos and stopping if no more data is available.


nextAvailable: anInteger putAllOn: aStream
Copy up to anInteger objects from the receiver to aStream, stopping if no more data is available.