示例#1
0
func part(blob *test.Blob, offset, size uint64) *BytesPart {
	return &BytesPart{BlobRef: blob.BlobRef(), Size: size, Offset: offset}
}
示例#2
0
func all(blob *test.Blob) *BytesPart {
	return part(blob, 0, uint64(blob.Size()))
}
示例#3
0
func all(blob *test.Blob) *ContentPart {
	return part(blob, 0, uint64(blob.Size()))
}