GetObjectRequestSetRange Method |
Namespace: Aliyun.OSS
If the value is non-negative, it means the start index of the object to read. If the value is -1, it means the start index is determined by end parameter and thus the end parameter must not be -1. For example, if the end is 100, then the start is bytes=-100 (bytes is the total length of the object). It means to read the last 100 bytes of the object.
If the value is non-negative, it means the end index of the object to read. If the value is -1, it means the end is the object's last byte and start must not be -1. For example, if the start is 99 and end is -1, it means to read the whole object except the first 99 bytes.