This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
forgejo/vendor/gopkg.in/bufio.v1
Mura Li d77176912b Use Go1.11 module (#5743)
* Migrate to go modules

* make vendor

* Update mvdan.cc/xurls

* make vendor

* Update code.gitea.io/git

* make fmt-check

* Update github.com/go-sql-driver/mysql

* make vendor
2019-03-27 19:15:23 +08:00
..
.travis.yml Use Go1.11 module (#5743) 2019-03-27 19:15:23 +08:00
buffer.go
bufio.go
LICENSE
Makefile Use Go1.11 module (#5743) 2019-03-27 19:15:23 +08:00
README.md Use Go1.11 module (#5743) 2019-03-27 19:15:23 +08:00

bufio

This is a fork of the http://golang.org/pkg/bufio/ package. It adds ReadN method that allows reading next n bytes from the internal buffer without allocating intermediate buffer. This method works just like the Buffer.Next method, but has slightly different signature.