Documentation
¶
Overview ¶
Package byterange parses a range of bytes, such as of the Markdown of a document, which is read a part at a time
Index ¶
Constants ¶
const ( // DefaultLimit is the number of bytes of a range which is empty: the // first kilobyte DefaultLimit = 1024 )
Variables ¶
This section is empty.
Functions ¶
func Parse ¶
Parse returns the byte offset and limit of a range of bytes, such as of the Markdown of a document, which is from:to, from the byte up to the byte, from:, from the byte to the end, :to, from the start up to the byte, or :, all of it. A limit of zero is to the end. An empty range is the first kilobyte. A range which ends holds at least a whole character.
Types ¶
This section is empty.