example4

command
v0.0.0-...-b3bf091 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Sample program that takes a stream of bytes and looks for the bytes “elvis” and when they are found, replace them with “Elvis”. The code cannot assume that there are any line feeds or other delimiters in the stream and the code must assume that the stream is of any arbitrary length. The solution cannot meaningfully buffer to the end of the stream and then process the replacement.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL