Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
a8a0efd7cThis file is pinned to the selected release. Download the original to open it in your design tool.
using Hast.Layer;
namespace Hast.Transformer.Abstractions.SimpleMemory
{
public static class SimpleMemoryDeviceManifestExtensions
{
public static ulong GetAvailableSimpleMemoryCellCount(this IDeviceManifest deviceManifest) =>
deviceManifest.AvailableMemoryBytes / SimpleMemory.MemoryCellSizeBytes;
}
}