 #- these could be unexported. AFAIK, unexported symbols can still be used by
 #- other files in the tpm package.
 #-
+#**
+#** author: Tom Roeder
+#** email: tmroeder@google.com
+#** date: 2014-07-20T10:45:48-0700
+#**
+#-- Fixed
+#-- 
 +)
 +
 +// A Result is a return value from the TPM.

#*
#- Didn't look at this file. But did it work?
#-
+
+import (
+	"encoding/base64"

#- Nit: Check size before checking for CommandHeader to avoid out-of-bounds
#- error if cmd is zero length?
#-
#**
#** author: Tom Roeder
#** email: tmroeder@google.com
#** date: 2014-07-20T15:28:25-0700
#**
#-- No longer a problem now that I pass the CommandHeader directly.
#-- 
+
+	hdr.Size = uint32(size)
+	buf := bytes.NewBuffer(make([]byte, 0, size))
