Add a comment explaining why we don't truncate strings on \x00.

This commit is contained in:
Mike Auty
2016-02-14 02:50:37 +00:00
parent 0ef389dec9
commit d7aefdce28
+1
View File
@@ -138,6 +138,7 @@ class String(PrimitiveObject, str):
layer_name = object_info.layer_name,
offset = object_info.offset),
**params)
# We don't truncate on "\x00" because the string decoder does that for us
return value