# File lib/dbus/marshall.rb, line 279
    def append_signature(str)
      @packet += str.bytesize.chr + str + "\0"
    end