construct new reader from bytes buffer code example Example: golang reader from byte array r := bytes.NewReader(byteData)