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