 #- 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))

#-   return TPMError(hdr.Res)
#- which makes the conversion from tpm codes to go errors very clear, I think.
#-
+		start = 1
+	}
+

#-   for i, e := range elts {
#-     s := binary.Size(e)
#-
#**
#** author: Tom Roeder
#** email: tmroeder@google.com
#** date: 2014-07-20T15:28:02-0700
#**
#-- Fixed. In fact, I can use _, e := range elts, since I don't need the index.
#-- 
+		if s == -1 {
+			return -1
+		}
