Пример #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()))
}