Offset (computer science)

In computer science, an offset within an array or other data structure object is an integer indicating the distance (displacement) between the beginning of the object and a given element or point, presumably within the same object.[1]: 100–103  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).

For example, if A is an array of characters containing "abcdef", the fourth element containing the character 'd' has an offset of three from the start of A.

  1. ^ Cite error: The named reference keri88 was invoked but never defined (see the help page).

Offset (computer science)

Dodaje.pl - Ogłoszenia lokalne