From aab1392fdfbb7b50fd82594e82bcdee5a5253357 Mon Sep 17 00:00:00 2001 From: akwizgran Date: Wed, 1 Apr 2015 12:17:19 +0000 Subject: [PATCH] akwizgran created page: BDF --- BDF.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BDF.markdown b/BDF.markdown index 1c75157..eeac786 100644 --- a/BDF.markdown +++ b/BDF.markdown @@ -8,8 +8,8 @@ Each object consists of a type, length and value. The first four bits of the obj * **3: Floating point** - Length is 4 or 8. Value is a floating point number with the specified length. * **4: String** - Length is 0, 1, 2 or 4. Value is an integer with the specified length, followed by a string with its length given by the integer. * **5: Raw** - Length is 0, 1, 2 or 4. Value is an integer with the specified length, followed by raw binary data with its length given by the integer. -* **6: List** - Length is 0. The value consists of zero or more objects of any type followed by an end. -* **7: Dictionary** - Length is 0. The value consists of zero or more key-value pairs followed by an end. The keys must be strings and the values may be of any type. +* **6: List** - Length is 0. The value consists of zero or more objects of any type followed by an end object. +* **7: Dictionary** - Length is 0. The value consists of zero or more key-value pairs followed by an end object. The keys are strings and the values may be of any type. * **8: End** - Length is 0, value is empty. Marks the end of a list or dictionary. All integers in BDF are big-endian two's complement, floating point numbers are IEEE 754, and strings are UTF-8. Integers (including the lengths of strings and raws) must be represented using the minimum number of bytes.