Add NamedPipe::writeBuf().