Sha256: becc08b6f0ca7663005c72c7e8a816b09029faed0dfbc9327583bc7b8683ea76
Contents?: true
Size: 560 Bytes
Versions: 60
Compression:
Stored size: 560 Bytes
Contents
require 'util/miq-unicode' module NTFS # # VOLUME_NAME - Attribute: Volume name (0x60). # # NOTE: Always resident. # NOTE: Present only in FILE_Volume. # # Data of this class is not structured. # class VolumeName attr_reader :name def initialize(buf) buf = buf.read(buf.length) if buf.kind_of?(DataRun) @name = buf.UnicodeToUtf8 end def to_s @name end def dump out = "\#<#{self.class}:0x#{'%08x' % object_id}>\n " out << @name out << "---\n" end end end # module NTFS
Version data entries
60 entries across 60 versions & 1 rubygems