In
computer science, an
offset within an
array or other
data structure object is an
integer indicating the distance (displacement) from the beginning of the object up until a given element or point, presumably within the same object. The concept of a distance is valid only if all elements of the object are of the same size (typically given in
bytes or
words).