MFMv2.0.10
Movable Feast Machine Simulator 2.0.10
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types
MFM::Format Struct Reference

#include <Format.h>

Public Types

enum  Type {
  DEC = 10, HEX = 16, OCT = 8, BIN = 2,
  BYTE = 0, BEU16 = -1, BEU32 = -2, BEU64 = -3,
  LEX32 = -4, LXX32 = -5, LEX64 = -6, LXX64 = -7,
  LEXHD = -8, B36 = 36
}
 

Detailed Description

Formatting codes for use with Print(u32, Format::Type), Print(s32, Format::Type), and Print(u64, Format::Type).

Member Enumeration Documentation

Enumerator
DEC 

Format in decimal, signed if negative (in most contexts)

HEX 

Format in hexadecimal (base 16, using 0-9A-Z), unsigned

OCT 

Format in octal (base 8, using 0-7), unsigned

BIN 

Format in binary (base 2, using 0-1), unsigned

BYTE 

Format a single byte directly, as an unaltered 8 bit value

BEU16 

Format a u16 (unsigned 2 bytes) in big endian (network order)

BEU32 

Format a u32 (unsigned 4 bytes) in big endian (network order)

BEU64 

Format a u64 (unsigned 8 bytes) in big endian (network order)

LEX32 

Format a u32 (unsigned 4 bytes) in leximited decimal

LXX32 

Format a u32 (unsigned 4 bytes) in leximited hexadecimal

LEX64 

Format a u64 (unsigned 8 bytes) in leximited decimal

LXX64 

Format a u64 (unsigned 8 bytes) in leximited hexadecimal

LEXHD 

Format a u32 (unsigned 4 bytes) as a leximited format header

B36 

Format in base 36 ("hexatrigintimal"?, using 0-9A-Z), unsigned


The documentation for this struct was generated from the following file: