public BinFilePageCollection(Stream inputStream, int address) { this.inputStream = inputStream; this.buffer = new byte[Constants.SramPageBufferSize + 4]; this.page = new Page() { Data = buffer, Offset = 0 }; this.address = address; }
public BinaryResourceCollectionPageCollection(IEnumerator resourceIds) { this.resourceIds = resourceIds; this.currentPage = new Page(); SetUpNextByteArray(); }