]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Library/PrintLib.h
BaseMemoryLib (BaseMemoryLibRepStr):
[mirror_edk2.git] / MdePkg / Include / Library / PrintLib.h
index 9c65459a59ec3cc415a4fd104bca2b22938c9657..22df74c65a575a44431c480b9db3db727f05d41c 100644 (file)
 #ifndef __PRINT_LIB_H__\r
 #define __PRINT_LIB_H__\r
 \r
-//\r
-// Print primitives\r
-//\r
+///\r
+/// Define the maximum number of characters that are required to\r
+/// encode a decimal, hexidecimal, GUID, or TIME value with a NULL \r
+/// terminator.\r
+///  \r
+///  Maximum Length Decimal String     = 28\r
+///    "-9,223,372,036,854,775,808"\r
+///  Maximum Length Hexidecimal String = 17\r
+///    "FFFFFFFFFFFFFFFF"\r
+///  Maximum Length GUID               = 37\r
+///    "00000000-0000-0000-0000-000000000000"\r
+///  Maximum Length TIME               = 18\r
+///    "12/12/2006  12:12"\r
+///\r
+#define MAXIMUM_VALUE_CHARACTERS  38\r
+\r
+///\r
+/// Flags bitmask values use in UnicodeValueToString() and \r
+/// AcsiiValueToString()\r
+///\r
 #define LEFT_JUSTIFY      0x01\r
 #define COMMA_TYPE        0x08\r
 #define PREFIX_ZERO       0x20\r