| 1 |
Source: golang-github-philhofer-fwd |
| 2 |
Maintainer: Debian Go Packaging Team <[email protected]> |
| 3 |
Uploaders: Tim Potter <[email protected]>, |
| 4 |
Section: golang |
| 5 |
Testsuite: autopkgtest-pkg-go |
| 6 |
Priority: optional |
| 7 |
Build-Depends: debhelper-compat (= 13), |
| 8 |
dh-golang, |
| 9 |
golang-any (>= 2:1.20~), |
| 10 |
Standards-Version: 4.7.2 |
| 11 |
Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-philhofer-fwd |
| 12 |
Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-philhofer-fwd.git |
| 13 |
Homepage: https://github.com/philhofer/fwd |
| 14 |
Rules-Requires-Root: no |
| 15 |
XS-Go-Import-Path: github.com/philhofer/fwd |
| 16 |
|
| 17 |
Package: golang-github-philhofer-fwd-dev |
| 18 |
Architecture: all |
| 19 |
Depends: ${misc:Depends}, |
| 20 |
Multi-Arch: foreign |
| 21 |
Description: Buffered Reader/Writer |
| 22 |
The fwd package provides a buffered reader and writer. Each has methods that |
| 23 |
help improve the encoding/decoding performance of some binary protocols. |
| 24 |
. |
| 25 |
The fwd.Writer and fwd.Reader type provide similar functionality to their |
| 26 |
counterparts in bufio, plus a few extra utility methods that simplify |
| 27 |
read-ahead and write-ahead. I wrote this package to improve serialization |
| 28 |
performance for http://github.com/philhofer/msgp, where it provided about a 2x |
| 29 |
speedup over bufio. However, care must be taken to understand the semantics of |
| 30 |
the extra methods provided by this package, as they allow the user to access |
| 31 |
and manipulate the buffer memory directly. |