Home > Terms > English, UK (UE) > Code unit sequence

Code unit sequence

An ordered sequence of one or more code units.

  • When the code unit is an 8-bit unit, a code unit sequence may also be referred to as a byte sequence.
  • A code unit sequence may consist of a single code unit.
  • In the context of programming languages, the value of a string data type basically consists of a code unit sequence. Informally, a code unit sequence is itself just referred to as a string, and a byte sequence is referred to as a byte string. Care must be taken in making this terminological equivalence, however, because the formally defined concept of a string may have additional requirements or complications in programming languages. For example, a string is defined as a pointer to char in the C language and is conventionally terminated with a NULL character. In object-oriented languages, a string is a complex object, with associated methods, and its value may or may not consist of merely a code unit sequence.
  • Depending on the structure of a character encoding standard, it may be necessary to use a code unit sequence (of more than one unit) to represent a single encoded character. For example, the code unit in SJIS is a byte: encoded characters such as "a" can be represented with a single byte in SJIS, whereas ideographs require a sequence of two code units. The Unicode Standard also makes use of code unit sequences whose length is greater than one code unit.
This is auto-generated content. You can help to improve it.
0
Collect to Blossary

Member comments

You have to log in to post to discussions.

Terms in the News

Featured Terms

Thuy Do
  • 0

    Terms

  • 0

    Blossaries

  • 0

    Followers

Industry/Domain: Zoology Category: Zoological terms

phylum placozoa

Macroscopic, flattened marine animals, composed of ventral and dorsal epithelial layers enclosing ...

Thuy Do
  • 0

    Terms

  • 0

    Blossaries

  • 0

    Followers

Industry/Domain: Zoology Category: Zoological terms

phylum cnidaria

Cnidarians. Hydras, hydroids, jellyfish, sea anemones, and corals. Free-swimming or sessile, with ...

qys1978
  • 0

    Terms

  • 1

    Blossaries

  • 0

    Followers

Industry/Domain: Accounting Category: Auditing

share a term with millions

Share a term with millions of users around the world and increase your online visibility.Share a ...

Bob
  • 0

    Terms

  • 1

    Blossaries

  • 5

    Followers

Industry/Domain: Plants Category: Trees

oak

Genus native to the Northern Hemisphere with spirally arranged leaves, catkins for flowers and ...

Bagar
  • 0

    Terms

  • 64

    Blossaries

  • 6

    Followers

Industry/Domain: Geography Category: Geography

Everest

The last but not least mount Everest. The Earth's highest mountain, with a peak at 8,848 metres ...

David Parkin
  • 0

    Terms

  • 1

    Blossaries

  • 36

    Followers

Industry/Domain: Plants Category: General plants

aglaonema

Genus of about 20 species of usually rhizomatous, evergreen perennials from tropical forest in Asia. ...

Aidan Teare
  • 0

    Terms

  • 0

    Blossaries

  • 6

    Followers

Industry/Domain: Science Category: General science

Robojelly

Robojelly is a hydrogen-powered robot desgined in the United States that moves through the water ...

  • 0

    Terms

  • 0

    Blossaries

  • 1

    Followers

Industry/Domain: People Category: Entrepreneurs

Ferdinand Porsche

Ferdinand Porsche (3 September 1875 – 30 January 1951) was an Austrian-German automotive engineer ...

  • 0

    Terms

  • 40

    Blossaries

  • 4

    Followers

Industry/Domain: Broadcasting & receiving Category: News

Marzieh Afkham

Marzieh Afkham, who is the country’s first foreign ministry spokeswoman, will head a mission in east ...

  • 0

    Terms

  • 0

    Blossaries

  • 1

    Followers

Industry/Domain: Accounting Category: Auditing

define1

Share a term with millions of users around the world and increase your online visibility.Share a ...

Contributor

Featured blossaries

Video Games Genres

Category: Entertainment   1 1 Terms

Potatoe

Category: Food   1 9 Terms