/// <summary>
/// Frees all heaps and streams that are being used.
/// </summary>
public void Dispose()
{
if (blobheap != null)
{
blobheap.Dispose();
}
if (guidheap != null)
{
guidheap.Dispose();
}
if (stringsheap != null)
{
stringsheap.Dispose();
}
if (usheap != null)
{
usheap.Dispose();
}
if (tableheap != null)
{
tableheap.Dispose();
}
}