class CFPropertyList::Binary

def num_to_binary(value)

Converts a numeric value to binary and adds it to the object table
def num_to_binary(value)
  saved_object_count = @written_object_count
  @written_object_count += 1
  val = ""
  if(value.is_a?(CFInteger)) then
    val = int_to_binary(value.value)
  else
    val = real_to_binary(value.value)
  end
  @object_table[saved_object_count] = val
  return saved_object_count
end