OsPipeStream
Description
A pipe stream is a kind of buffered process stream that has a communication channel with the process via an operating system pipe. A pipe is an interprocess communication channel of fixed size that is implemented by various operating systems.
All instances of pipe stream also have smalltalk 'buffers' (usually <OsPipeStreamBuffer>) that allow for efficient reading and writing.
Class Methods
<details> new
<pre><code> Answer a new pipe stream
Answers:
<OsPipeStream>
</code></pre> </details>
<details> on:
<pre><code> Answer a new pipe stream on pipe descriptor with the default buffer size for the concrete subclass
Arguments:
aPipeDescriptor - <Integer>
Answers:
<OsPipeStream>
</code></pre> </details>
<details> on:withBufferSize:
<pre><code> Answer a new pipe stream on pipe descriptor with the defined buffer size
Arguments:
aPipeDescriptor - <Integer>
aBufferSize - <Integer>
Answers:
<OsPipeStream>
</code></pre> </details>
<details> withBufferSize:
<pre><code> Answer a new pipe stream with the defined buffer size
Arguments:
aBufferSize - <Integer> or nil for default
Answers:
<OsPipeStream>
</code></pre> </details>
Instance Methods
<details> close
  Close the pipe.
     Assume the pipe is closed if the descriptor is nil
     The pipeDescriptor will be nil after the call (via prim)
</details>
<details> isAccessible
<pre><code> Answer true if the pipe descriptor is valid and accessible
Answers:
<Boolean>
</code></pre> </details>
<details> isBytes:
<pre><code> If true, adjust the buffers to store bytes. If false, adjust the buffers to store chars. Inform the @stream
Arguments:
aBoolean - <Boolean>
</code></pre> </details>
<details> isClosed
<pre><code> A pipe stream is considered closed if the associated descriptor is nil
Answers:
<Boolean>
</code></pre> </details>
Last modified date: 07/07/2022