1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-05-31 00:09:15 -04:00

remove NewMultiBufferValue

This commit is contained in:
Darien Raymond
2018-11-16 11:08:12 +01:00
parent db5259e75b
commit a01fdc29a6
21 changed files with 33 additions and 38 deletions

View File

@@ -175,7 +175,7 @@ func (w *BufferedWriter) flushInternal() error {
return err
}
return w.writer.WriteMultiBuffer(NewMultiBufferValue(b))
return w.writer.WriteMultiBuffer(MultiBuffer{b})
}
// SetBuffered sets whether the internal buffer is used. If set to false, Flush() will be called to clear the buffer.