Skip to content

DML Data Types

Joshua Scott edited this page Oct 1, 2018 · 2 revisions
Type C/C++ Type Binary Representation
BYT int8_t Signed 1-byte integer.
UBYT uint8_t Unsigned 1-byte integer.
SHRT int16_t Signed 2-byte integer in little-endian byte order.
USHRT uint16_t Unsigned 2-byte integer in little-endian byte order.
INT int32_t Signed 4-byte integer in little-endian byte order.
UINT uint32_t Unsigned 4-byte integer in little-endian byte order.
STR uint8_t[] or char[] A length-prefixed string of bytes, with the length being a USHRT.
WSTR uint16_t[] or char16_t[] A length-prefixed string of little-endian UTF-16 characters without the Byte Order Mark, with the length being a USHRT.
FLT float IEEE-754 32-bit floating point integer in little-endian byte order.
DBL double IEEE-754 64-bit floating point integer in little-endian byte order.
GID uint64_t Unsigned 8-byte integer in little-endian byte order.
  1. Introduction
  2. Data Markup Language (DML)
    1. What is DML?
    2. DML Syntax
    3. DML Data Types
    4. DML Examples
  3. Property Class System
    1. Work in Progress
  4. KingsIsle Networking Protocol (KINP)
    1. Sessions
    2. Message Framing
    3. Message Structure
    4. Control Messages
      1. Session Offer
      2. Session Accept
      3. Keep Alive
    5. DML Messages
      1. Message Modules
      2. Binary Structure

Clone this wiki locally