- addRef
void addRef(PipeFD pipe)
Undocumented in source. Be warned that the author may not have intended to support it.
- adopt
PipeFD adopt(int system_pipe_handle)
Undocumented in source. Be warned that the author may not have intended to support it.
- cancelRead
void cancelRead(PipeFD pipe)
Undocumented in source. Be warned that the author may not have intended to support it.
- cancelWrite
void cancelWrite(PipeFD pipe)
Undocumented in source. Be warned that the author may not have intended to support it.
- close
void close(PipeFD pipe, PipeCloseCallback on_closed)
Undocumented in source. Be warned that the author may not have intended to support it.
- isValid
bool isValid(PipeFD handle)
Undocumented in source. Be warned that the author may not have intended to support it.
- rawUserData
void* rawUserData(PipeFD descriptor, size_t size, DataInitializer initialize, DataInitializer destroy)
Undocumented in source. Be warned that the author may not have intended to support it.
- read
void read(PipeFD pipe, ubyte[] buffer, IOMode mode, PipeIOCallback on_read_finish)
Undocumented in source. Be warned that the author may not have intended to support it.
- releaseRef
bool releaseRef(PipeFD pipe)
Undocumented in source. Be warned that the author may not have intended to support it.
- waitForData
void waitForData(PipeFD pipe, PipeIOCallback on_data_available)
Undocumented in source. Be warned that the author may not have intended to support it.
- write
void write(PipeFD pipe, const(ubyte)[] buffer, IOMode mode, PipeIOCallback on_write_finish)
Undocumented in source. Be warned that the author may not have intended to support it.
- adopt
PipeFD adopt(int system_pipe_handle)
Adopt an existing pipe. This will modify the pipe to be non-blocking.
- read
void read(PipeFD pipe, ubyte[] buffer, IOMode mode, PipeIOCallback on_read_finish)
Reads data from a stream socket.
- cancelRead
void cancelRead(PipeFD pipe)
Cancels an ongoing read operation.
- write
void write(PipeFD pipe, const(ubyte)[] buffer, IOMode mode, PipeIOCallback on_write_finish)
Writes data from a stream socket.
- cancelWrite
void cancelWrite(PipeFD pipe)
Cancels an ongoing write operation.
- waitForData
void waitForData(PipeFD pipe, PipeIOCallback on_data_available)
Waits for incoming data without actually reading it.
- close
void close(PipeFD file, PipeCloseCallback on_closed)
Immediately close the pipe. Future read or write operations may fail.
- isValid
bool isValid(PipeFD handle)
Determines whether the given pipe handle is valid.
- addRef
void addRef(PipeFD pid)
Increments the reference count of the given resource.
- releaseRef
bool releaseRef(PipeFD pid)
Decrements the reference count of the given resource.
- userData
PipeFD userData [@property setter]
Retrieves a reference to a user-defined value associated with a descriptor.
- rawUserData
void* rawUserData(PipeFD descriptor, size_t size, DataInitializer initialize, DataInitializer destroy)
Low-level user data access. Use userData instead.