/*
netstring -- netstring format serialization library
-Copyright (C) 2015-2020 Sergey Matveev <stargrave@stargrave.org>
+Copyright (C) 2015-2022 Sergey Matveev <stargrave@stargrave.org>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
// size, err := r.Next() // size is 5
// r.Discard() // skip that chunk
// size, err = r.Next() // size is 6
-// data, _ := ioutil.ReadAll(r) // data contains "world!"
+// data, _ := io.ReadAll(r) // data contains "world!"
package netstring