final boolean resident = (fileRecord.getUInt8(offset + 0x08) == 0);
final int type = fileRecord.getUInt32AsInt(offset + 0x00);
switch (type) {
case Types.STANDARD_INFORMATION:
return new StandardInformationAttribute(fileRecord, offset);
case Types.ATTRIBUTE_LIST:
if (resident) {
return new AttributeListAttributeRes(fileRecord, offset);
} else {
return new AttributeListAttributeNonRes(fileRecord, offset);