Next: , Previous: , Up: Sockets.StreamSocket   [Index]


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.