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)
  @object_table[@written_object_count] = val ? "\x9" : "\x8" # 0x9 is 1001, type indicator for true; 0x8 is 1000, type indicator for false
  @written_object_count += 1
  @written_object_count - 1
end