mirror of https://github.com/v2ray/v2ray-core
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
315 B
16 lines
315 B
8 years ago
|
// Package bufio is a replacement of the standard golang package bufio.
|
||
|
package bufio
|
||
|
|
||
|
import (
|
||
|
"bufio"
|
||
|
"io"
|
||
|
)
|
||
|
|
||
|
func OriginalReader(reader io.Reader) *bufio.Reader {
|
||
|
return bufio.NewReader(reader)
|
||
|
}
|
||
|
|
||
|
func OriginalReaderSize(reader io.Reader, size int) *bufio.Reader {
|
||
|
return bufio.NewReaderSize(reader, size)
|
||
|
}
|