package
Version:
v2.0.2-alpha.8
Opens a new window with list of versions in this module.
Published: Jan 4, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Range struct {
StartIndex uint64 `json:"start_index"`
EndIndex uint64 `json:"end_index"`
}
GetRange parses Range according to range string.
rangeStr: "start-end"
ParseRange parses the start and the end from rangeStr and returns them.
length is file total length
Source Files
¶
Click to show internal directories.
Click to hide internal directories.