浏览代码

Added warning that we serialize a binary string

See #1647
Jorrit Rouwe 2 月之前
父节点
当前提交
d1d7d228e3
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Docs/Architecture.md

+ 1 - 0
Docs/Architecture.md

@@ -160,6 +160,7 @@ An example of saving a shape in binary format:
 	JPH::Ref<Shape> sphere = new JPH::SphereShape(1.0f);
 
 	// For this example we'll be saving the shape in a STL string stream, but if you implement StreamOut you don't have to use STL.
+	// Note that this will be storing a binary string of bytes that can contain 0-bytes, it is not an ASCII string!
 	stringstream data;
 	JPH::StreamOutWrapper stream_out(data);