![]()
もくじ
io.Readerから[]byteに変換
import ( io/ioutil ) var reader io.Reader bytes, err := ioutil.ReadAll(reader)
[]byteからio.Readerに変換
import ( "bytes" ) var _bytes []byte reader := bytes.NewReader(_bytes)
byte型
符号なしの8bitの値
[]byte型
byte型のスライス
io.Reader
- []byteを読み出す為のインターフェイス
- Readメソッドを持つ




![[Solved] Let’s Encrypt Could not bind TCP port 80 because it is already in use by another process on this system (such as a web server)](https://www.yuulinux.tokyo/contents/wp-content/uploads/2020/06/linux_2021_2-150x150.jpg)