Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
}
pos = p->logical_offset + p->length;
if (blobid & BLOBID_FLAG_DEPTH) {
- small_encode_varint_lowz(p->blob_depth, bl);
+ ::encode(p->blob_depth, bl);
}
if (include_blob) {
p->blob->encode(bl);
le->length = prev_len;
if (blobid & BLOBID_FLAG_DEPTH) {
- small_decode_varint_lowz(le->blob_depth, p);
+ ::decode(le->blob_depth, p);
} else {
le->blob_depth = 1;
}
uint32_t logical_offset = 0; ///< logical offset
uint32_t blob_offset = 0; ///< blob offset
uint32_t length = 0; ///< length
- uint8_t blob_depth; /// blob overlapping count
+ uint8_t blob_depth = 0; /// blob overlapping count
BlobRef blob; ///< the blob with our data
/// ctor for lookup only