class CFPropertyList::Binary

def bool_to_binary(val)

Convert a bool value to binary and add it to the object table
def bool_to_binary(val)
  saved_object_count = @written_object_count
  @written_object_count += 1
  @object_table[saved_object_count] = val ? "\x9" : "\x8" # 0x9 is 1001, type indicator for true; 0x8 is 1000, type indicator for false
  return saved_object_count
end