public PageAllocator(PagedContainerHeader header, Stream stm) { this.header = header; var buff = stm.ReadWithPageSequence(header, FIRST_PA_PAGE).Data; pageAllocations = new ExpandableBitArray(header.DataHandler.Unpack(buff).ToArray()); }
public PageAllocator(PagedContainerHeader header) { this.header = header; pageAllocations = new ExpandableBitArray(2); pageAllocations[0] = true; pageAllocations[1] = true; }