Difference between revisions of "DATA TYPE"

From truxwiki.com
Jump to navigation Jump to search
(Created page with " Editing DATA TYPE Jump to navigation Jump to search This is an enumeration of the different ways of storing data in a byte stream. {| class="wikitable" ! Name ! Value ! Mean...")
 
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
Editing DATA TYPE
 
Jump to navigation
 
Jump to search
 
 
This is an enumeration of the different ways of storing data in a byte stream.
 
This is an enumeration of the different ways of storing data in a byte stream.
 +
The values are used in the <code>[DataTypeID]</code> column of the <code><nowiki>[</nowiki>[[Entity Table|Entity]]<nowiki>]</nowiki></code> table.
 +
They are recorded in the <code>[ID]</code> column of the <code>[DataType]</code> reference table.
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 138: Line 136:
 
| A thirty-two bit (four byte) [https://home.unicode.org/ Unicode] character in [https://en.wikipedia.org/wiki/UTF-32#History UCS-4] encoding.
 
| A thirty-two bit (four byte) [https://home.unicode.org/ Unicode] character in [https://en.wikipedia.org/wiki/UTF-32#History UCS-4] encoding.
 
|}
 
|}
Summary:
 
This is a minor edit
 
Watch this page
 
 
Please note that all contributions to Truxton may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
 
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Truxton:Copyrights for details). Do not submit copyrighted work without permission!
 
Editing help (opens in new window)
 
Navigation menu
 
 
    Sam
 
    Talk
 
    Preferences
 
    Watchlist
 
    Contributions
 
    Log out
 
 
    Page
 
    Discussion
 
 
    Read
 
    Edit
 
    View history
 
    Watch
 
 
More
 
 
Search
 
 
    Main page
 
    Recent changes
 
    Random page
 
    Help about MediaWiki
 
 
Tools
 
 
    What links here
 
    Related changes
 
    Special pages
 
    Page information
 
 
    Privacy policy
 
    About Truxton
 
    Disclaimers
 
 
    Powered by MediaWiki
 

Latest revision as of 10:09, 10 November 2020

This is an enumeration of the different ways of storing data in a byte stream. The values are used in the [DataTypeID] column of the [Entity] table. They are recorded in the [ID] column of the [DataType] reference table.

Name Value Meaning
DATA_TYPE_UNKNOWN 0 The format of the data is not known
DATA_TYPE_int8_t 1 A signed byte.
DATA_TYPE_uint8_t 2 An unsigned byte.
DATA_TYPE_ASCII 3 An ASCII character.
DATA_TYPE_wchar_t 4 A sixteen bit Unicode character in UCS-2 encoding. AKA "wide character"
DATA_TYPE_GUID 5 A 128-bit (16 byte) globally unique identifier.
DATA_TYPE_ASCII_GUID 6 A 128-bit globally unique identifier in ASCII format.
DATA_TYPE_wchar_t_GUID 7 A 128-bit globally unique identifier in wide character format.
DATA_TYPE_LITTLE_ENDIAN_int16_t 10 A signed sixteen bit (two byte) integer in little endian (Intel) layout.
DATA_TYPE_LITTLE_ENDIAN_uint16_t 11 An unsigned sixteen bit (two byte) integer in little endian (Intel) layout.
DATA_TYPE_LITTLE_ENDIAN_int24_t 12 A signed twenty-four bit (three byte) integer in little endian (Intel) layout.
DATA_TYPE_LITTLE_ENDIAN_uint24_t 13 An unsigned twenty-four bit (three byte) integer in little endian (Intel) layout.
DATA_TYPE_LITTLE_ENDIAN_int32_t 14 A signed thirty-two bit (four byte) integer in little endian (Intel) layout.
DATA_TYPE_LITTLE_ENDIAN_uint32_t 15 An unsigned thirty-two bit (four byte) integer in little endian (Intel) layout.
DATA_TYPE_LITTLE_ENDIAN_int48_t 16 A signed forty-eight bit (six byte) integer in little endian (Intel) layout.
DATA_TYPE_LITTLE_ENDIAN_uint48_t 17 An unsigned forty-eight bit (six byte) integer in little endian (Intel) layout.
DATA_TYPE_LITTLE_ENDIAN_int64_t 18 A signed sixty-four bit (eight byte) integer in little endian (Intel) layout.
DATA_TYPE_LITTLE_ENDIAN_uint64_t 19 An unsigned sixty-four bit (eight byte) integer in little endian (Intel) layout.
DATA_TYPE_LITTLE_ENDIAN_DATA_FIELD 20 An arbitrary length integer in little endian (Intel) layout.
DATA_TYPE_BIG_ENDIAN_int16_t 30 A signed sixteen bit (two byte) integer in big endian (Intel) layout.
DATA_TYPE_BIG_ENDIAN_uint16_t 31 An unsigned sixteen bit (two byte) integer in big endian (Intel) layout.
DATA_TYPE_BIG_ENDIAN_int24_t 32 A signed twenty-four bit (three byte) integer in big endian (Intel) layout.
DATA_TYPE_BIG_ENDIAN_uint24_t 33 An unsigned twenty-four bit (three byte) integer in big endian (Intel) layout.
DATA_TYPE_BIG_ENDIAN_int32_t 34 A signed thirty-two bit (four byte) integer in big endian (Intel) layout.
DATA_TYPE_BIG_ENDIAN_uint32_t 35 An unsigned thirty-two bit (four byte) integer in big endian (Intel) layout.
DATA_TYPE_BIG_ENDIAN_int48_t 36 A signed forty-eight bit (six byte) integer in big endian (Intel) layout.
DATA_TYPE_BIG_ENDIAN_uint48_t 37 An unsigned forty-eight bit (six byte) integer in big endian (Intel) layout.
DATA_TYPE_BIG_ENDIAN_int64_t 38 A signed sixty-four bit (eight byte) integer in big endian (Intel) layout.
DATA_TYPE_BIG_ENDIAN_uint64_t 39 An unsigned sixty-four bit (eight byte) integer in big endian (Intel) layout.
DATA_TYPE_Encoded_Integer 40 An arbitrary length encoded integer.
DATA_TYPE_Double 50 A floating point number.
DATA_TYPE_UCS4 51 A thirty-two bit (four byte) Unicode character in UCS-4 encoding.