第一章IO 1.4. ReaderAt 和 WriterAt 接口中
Author: heweshubCreated May 11, 2022Updated May 11, 2022
n, err := file.WriteAt([]byte("Go语言中文网"), 24) 这里的24 应该为20,否则会多出文字并伴随乱码
Source: polaris1119/The-Golang-Standard-Library-by-Example
n, err := file.WriteAt([]byte("Go语言中文网"), 24) 这里的24 应该为20,否则会多出文字并伴随乱码
Source: polaris1119/The-Golang-Standard-Library-by-Example