* Added Utils.EmptyBytes which is equal to new byte[0] and replaced all references of new byte[0] to Utils.EmptyBytes

* Added a CRC32 implementation to OpenMetaverseTypes.dll
* Added ToBytes() functions to most of the OMV types for writing bytes into an existing byte array

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2470 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
John Hurliman
2009-03-06 01:32:02 +00:00
parent 2dc837eff1
commit 3ad7551a4a
24 changed files with 264 additions and 36 deletions

View File

@@ -204,7 +204,7 @@ namespace SimExport
if (prim.Textures != null)
te = prim.Textures.ToBytes();
else
te = new byte[0];
te = Utils.EmptyBytes;
writer.WriteBase64(te, 0, te.Length);
writer.WriteEndElement();