Hunny Software Library Reference

AppleFile.Format Property

Gets or sets the format type

[Visual Basic]
Public Property Format As Integer
[C#]
public int Format {get; set;}

Property Value

the format type (AppleSingle or AppleDouble)

Remarks

The format type can be AppleFile.AppleSingle or AppleFile.AppleDouble.

When using AppleFile to unpack file data, the format type is determined by interpreting a magic number in the packed data.

When using AppleFile to pack file data, you should set a format type of AppleFile.AppleSingle or AppleFile.AppleDouble.

The AppleDouble header and AppleSingle formats are almost identical. They are different in two ways: the magic number is different, and an AppleDouble header is not permitted to contain a data fork.

See Also

AppleFile Class | Hunny.Mime Namespace