Class FreeBlockMap
- Namespace
- AsmResolver.Symbols.Pdb.Msf.Builder
- Assembly
- AsmResolver.Symbols.Pdb.dll
Represents a block within a MSF file that contains information on which blocks in the MSF file are free to use.
public class FreeBlockMap : SegmentBase, ISegment, IOffsetProvider, IWritable
- Inheritance
-
FreeBlockMap
- Implements
- Inherited Members
Constructors
FreeBlockMap(uint)
Creates a new empty free block map.
public FreeBlockMap(uint blockSize)
Parameters
blockSize
uintThe size of a single block in the MSF file.
Properties
BitField
Gets the bit field indicating which blocks in the MSF file are free to use.
public BitArray BitField { get; }
Property Value
Methods
GetPhysicalSize()
Computes the number of bytes that the structure contains.
public override uint GetPhysicalSize()
Returns
- uint
The number of bytes.
Write(BinaryStreamWriter)
Serializes the structure to an output stream.
public override void Write(BinaryStreamWriter writer)
Parameters
writer
BinaryStreamWriterThe output stream to write the data to.