Modified:
/libopenmetaverse/trunk/OpenMetaverse.StructuredData/LLSD/BinaryLLSD.cs
=======================================
--- /libopenmetaverse/trunk/OpenMetaverse.StructuredData/LLSD/BinaryLLSD.cs
Fri Jun 10 06:37:53 2011
+++ /libopenmetaverse/trunk/OpenMetaverse.StructuredData/LLSD/BinaryLLSD.cs
Thu Dec 1 20:44:34 2011
@@ -71,7 +71,7 @@
private const byte mapEndBinaryMarker = (byte)'}';
private const byte keyBinaryMarker = (byte)'k';
- private static readonly byte[] llsdBinaryHeadBytes =
Encoding.ASCII.GetBytes(llsdBinaryHead);
+ private static readonly byte[] llsdBinaryHeadBytes =
Encoding.ASCII.GetBytes(llsdBinaryHead2);
/// <summary>
/// Deserializes binary LLSD
@@ -157,6 +157,7 @@
if (prependHeader)
{
stream.Write(llsdBinaryHeadBytes, 0,
llsdBinaryHeadBytes.Length);
+ stream.WriteByte((byte)'\n');
}
SerializeLLSDBinaryElement(stream, data);
return stream;