Remove WriteFromSelf

This commit is contained in:
JackDoan
2026-04-28 10:56:57 -05:00
parent 8b02b8128e
commit a476b1fa07
14 changed files with 5 additions and 60 deletions

View File

@@ -88,9 +88,7 @@ func (d *UserDevice) Pipe() (*io.PipeReader, *io.PipeWriter) {
func (d *UserDevice) Write(p []byte) (n int, err error) {
return d.inboundWriter.Write(p)
}
func (d *UserDevice) WriteFromSelf(p []byte) (n int, err error) {
return d.Write(p)
}
func (d *UserDevice) Close() error {
d.inboundWriter.Close()
d.outboundWriter.Close()