Sha256: 093d3a0ed58c9c1b93f9801de817475d86ea3f166d9fc405d1ffca74d75f1efc
Contents?: true
Size: 691 Bytes
Versions: 67
Compression:
Stored size: 691 Bytes
Contents
module NTFS class IndexAllocation def self.create_from_header(header, buf) return IndexAllocation.new(buf, header) if header.containsFileNameIndexes? $log.debug("Skipping #{header.typeName} for name <#{header.name}>") if $log nil end attr_reader :data_run, :header def initialize(buf, header) raise "MIQ(NTFS::IndexAllocation.initialize) Buffer must be DataRun (passed #{buf.class.name})" unless buf.kind_of?(DataRun) raise "MIQ(NTFS::IndexAllocation.initialize) Header must be AttribHeader (passed #{header.class.name})" unless header.kind_of?(NTFS::AttribHeader) @data_run = buf @header = header end end end
Version data entries
67 entries across 67 versions & 1 rubygems