1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-25 00:45:24 +00:00
This commit is contained in:
Darien Raymond 2016-12-15 15:55:31 +01:00
parent 4e3ed19308
commit 09c0fa558a
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -20,11 +20,13 @@ const (
StateMultilineCommentStar
)
// Reader is a JSON reader which allows comments.
type Reader struct {
io.Reader
state State
}
// Read implements io.Reader.Read().
func (v *Reader) Read(b []byte) (int, error) {
n, err := v.Reader.Read(b)
if err != nil {