public void RawWrite(MmfFileView raw, int offset) { unsafe { raw.WriteByte(offset, Status); offset += sizeof(byte); raw.WriteUInt32(offset, Capacity); offset += sizeof(uint); raw.WriteUInt32(offset, OffsetNext); offset += sizeof(uint); raw.WriteUInt32(offset, OffsetPrev); } }
public unsafe void RawWrite(MmfFileView view, int offset) { view.WriteUInt32(offset, Signature); offset += sizeof(uint); view.WriteUInt32(offset, FreeSpace); offset += sizeof(uint); view.WriteUInt32(offset, MaxFreeSpace); }