C# Class Mosa.DeviceSystem.VDI

显示文件 Open project: tgiphil/MOSA-Project

Public Methods

Method Description
CreateHeader ( uint blocks, byte guid, byte lastSnapGuid, DiskGeometry diskGeometry ) : byte[]

Creates the header.

CreateImageMap ( uint blocks ) : byte[]

Creates the image map.

Private Methods

Method Description
GetAlignedSize ( ulong size ) : ulong

Gets the size of the aligned.

Method Details

CreateHeader() public static method

Creates the header.
public static CreateHeader ( uint blocks, byte guid, byte lastSnapGuid, DiskGeometry diskGeometry ) : byte[]
blocks uint The blocks.
guid byte The GUID.
lastSnapGuid byte The last snap GUID.
diskGeometry DiskGeometry The disk geometry.
return byte[]

CreateImageMap() public static method

Creates the image map.
public static CreateImageMap ( uint blocks ) : byte[]
blocks uint The blocks.
return byte[]