Destructor.
Returns the buffer size for the PipeConduit.
Read a chunk of bytes from the file into the provided array (typically that belonging to an IBuffer)
Returns the name of the device.
Write a chunk of bytes to the file from the provided array (typically that belonging to an IBuffer).
expose superclass definition also
Throw an IOException noting the last error.
Return the name of this device.
Return a preferred size for buffering conduit I/O.
Windows-specific code.
Windows-specific code.
Allow adjustment of standard IO handles.
Return the underlying OS handle of this Conduit.
Release the underlying file. Note that an exception is not thrown on error, as doing so can induce some spaggetti into error handling. Instead, we need to change this to return a bool instead, so the caller can decide what to do.
Read a chunk of bytes from the file into the provided array. Returns the number of bytes read, or Eof where there is no further data.
Write a chunk of bytes to the file from the provided array. Returns the number of bytes written, or Eof if the output is no longer available.
Unix-specific code.
Allow adjustment of standard IO handles.
Return the underlying OS handle of this Conduit.
Release the underlying file.
Read a chunk of bytes from the file into the provided array. Returns the number of bytes read, or Eof where there is no further data.
Write a chunk of bytes to the file from the provided array. Returns the number of bytes written, or Eof if the output is no longer available.
Conduit for pipes.
Each PipeConduit can only read or write, depending on the way it has been created.