C# Class Mosa.DeviceSystem.VHD

ファイルを表示 Open project: tgiphil/MOSA-Project

Public Methods

Method Description
CreateFooter ( ulong blocks, uint timeStamp, byte guid, DiskGeometry diskGeometry ) : byte[]

Creates the VHD footer.

GetAlignmentPadding ( ulong size ) : uint

Gets the alignment padding.

Private Methods

Method Description
GetAlignedSize ( ulong size ) : ulong

Gets the size of the aligned.

Method Details

CreateFooter() public static method

Creates the VHD footer.
public static CreateFooter ( ulong blocks, uint timeStamp, byte guid, DiskGeometry diskGeometry ) : byte[]
blocks ulong The blocks.
timeStamp uint The time stamp.
guid byte The GUID.
diskGeometry DiskGeometry The disk geometry.
return byte[]

GetAlignmentPadding() public static method

Gets the alignment padding.
public static GetAlignmentPadding ( ulong size ) : uint
size ulong The size.
return uint