Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#90·The-Golang-Standard-Library-by-Example

第一章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

View original on GitHubView discussion on GitHub