private UnpackGuid ( |
||
chunk | ||
return | System.Guid |
Guid UnpackGuid(BufferChunk chunk)
{
int bufferLength = chunk.NextInt32(); // How many bytes did we pack
byte[] bytes = (byte[])chunk.NextBufferChunk(bufferLength);
Guid aGuid = new Guid(bytes);
return aGuid;
}