From 90065f3035cf5cf732371c2316ab83e5d0523c4d Mon Sep 17 00:00:00 2001 From: akwizgran Date: Wed, 1 Apr 2015 11:31:54 +0000 Subject: [PATCH] akwizgran created page: BDF --- BDF.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BDF.markdown b/BDF.markdown index dad8c3c..1c75157 100644 --- a/BDF.markdown +++ b/BDF.markdown @@ -1,6 +1,6 @@ BDF is a data format designed for simplicity and compactness. It is a schema-less format with six primitive types (null, boolean, integer, floating point, string, raw) and two container types (list, dictionary). -Each object consists of a type, length and value. The value may be empty. The first four bits of the object give its type. Depending on the type, the next four bits either give the length of the value, or the number of subsequent bytes that contain the length of the value. +Each object consists of a type, length and value. The first four bits of the object give its type. Depending on the type, the next four bits either give the length of the value, or the number of subsequent bytes that contain the length of the value. * **0: Null** - Length is 0, value is empty. * **1: Boolean** - Length is 1, value is 0 or 1.