This commit is contained in:
Andy Wang 2020-04-12 11:34:04 +01:00
parent 21cbe6ab5d
commit a82a1a5627
1 changed files with 5 additions and 0 deletions

View File

@ -13,6 +13,7 @@ package multiplex
import (
"container/heap"
"fmt"
"io"
"sync"
"time"
)
@ -96,6 +97,10 @@ func (sb *streamBuffer) Read(buf []byte) (int, error) {
return sb.buf.Read(buf)
}
func (sb *streamBuffer) WriteTo(w io.Writer) (int64, error) {
return sb.buf.WriteTo(w)
}
func (sb *streamBuffer) Close() error {
return sb.buf.Close()
}