/// <summary> /// Gets the segment of binary representation of value. /// </summary> /// <param name="reference">Reference to the value</param> /// <param name="startIndex">The start index of binary representation</param> /// <param name="endIndex">The end index of binary representation</param> /// <returns>The array of bytes containing specified segment of value</returns> public byte[] GetRawDataSegment(DbItemReference reference, long startIndex, long endIndex) { reference = GetVersionReferenceByRecordReference(reference); return(_memoryManager.GetItemSegment(reference, startIndex, endIndex)); }