GitHunt
JB

jbrindle/vectorio

Library for Go (golang) to implement writev system call (not an official Google product)

vectorio: Scatter/Gather I/O for Go

vectorio is a library for Go (aka "golang") to implement the writev(2) and readv(2) system calls. This enables a list of byte slices to be efficiently written to a file without first copying them to an intermediate buffer. Go's built-in bufio library is the standard approach to buffered I/O, but vectorio can be a replacement to achieve the same goal but without copying data.

This is not an official Google product. Authored by Ted Behling as a personal project.

Build Status

See example usage for a demo.

Languages

Go100.0%

Contributors

Apache License 2.0
Created June 11, 2019
Updated June 11, 2019
jbrindle/vectorio | GitHunt