WriteToFile 写入到文件中
(path string)
| 171 | |
| 172 | // WriteToFile 写入到文件中 |
| 173 | func (this *PartialRanges) WriteToFile(path string) error { |
| 174 | SharedPartialRangesQueue.Put(path, this.Bytes()) |
| 175 | return nil |
| 176 | } |
| 177 | |
| 178 | // Max 获取最大位置 |
| 179 | func (this *PartialRanges) Max() int64 { |