func (e indexEntryInfoV1) GetPackBlobID() blob.ID {
	nameLength := int(e.data[7])
	nameOffset := decodeBigEndianUint32(e.data[8:])

	nameBuf, err := safeSlice(e.b.data, int64(nameOffset), nameLength)
	if err != nil {
		return invalidBlobID
	}

	return blob.ID(nameBuf[0:nameLength])
}
// entry byte 7: length of pack content ID
// entry bytes 8..11: 4 bytes, big endian, offset within index file where pack (blob) ID begins.
entry byte 7: length of pack content ID
entry bytes 8..11: 4 bytes, big endian, offset within index file where pack (blob) ID begins.
// entry byte 7 : length of pack content ID // entry bytes 8 .. 11 : 4 bytes big endian offset within index file where pack ( blob ) ID begins .
func (e indexEntryInfoV1) GetPackBlobID() blob.ID {
	nameLength := int(e.data[7])
	nameOffset := decodeBigEndianUint32(e.data[8:])
	nameBuf, err := safeSlice(e.b.data, int64(nameOffset), nameLength)
	if err != nil {
		return invalidBlobID
	}
	return blob.ID(nameBuf[0:nameLength])
}
func ( e indexEntryInfoV1 ) GetPackBlobID ( ) blob . ID { nameLength := int ( e . data [ 7 ] ) nameOffset := decodeBigEndianUint32 ( e . data [ 8 : ] ) nameBuf , err := safeSlice ( e . b . data , int64 ( nameOffset ) , nameLength ) if err != nil { return invalidBlobID } return blob . ID ( nameBuf [ 0 : nameLength ] ) }
entry byte 7: length of pack content ID
entry bytes 8..11: 4 bytes, big endian, offset within index file where pack (blob) ID begins.
entry byte 7 : length of pack content ID entry bytes 8 .. 11 : 4 bytes big endian offset within index file where pack ( blob ) ID begins .