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