---------------------------------------------------------------------
CLASS: MacResourceForkEA --DVM
PUBLIC METHODS:
offsetToData() - Returns the offset in bytes from the beginning of
the EA to the beginning of the Resource Fork
Data.
error() - Returns any state errors. Should be called after
construction and after any fromISO() or toISO() .
dataLen() - Sets or gets the length of the Resource Fork
Data. If it causes the attrLen to be too small,
it is set to the minAttrLen for the new
dataLen. If dataLen() is reduced, the attrLen()
is left unchanged.
attrType() - Returns the value of the attrType field.
attrSubtype() - Returns the value of the attrSubtype field.
attrID() - Returns the String identifying the Attr.
minAttrLen() - Returns the minimum size the EA may be set to.
attrLen() - Gets or sets the EA to the supplied length. If
the new value is too short or disallowed for some
reason, it returns an error indicating that.
clear() - Sets the state to the exact same as right after
construction. All fields are initialized to
defaults and/or zeroes. Note that the size of the
resourceFork is not changed, but the attrLen is
set to the minAttrLen.
toISO() - Translates the structure to its ISO
representation at the supplied byte pointer.
fromISO() - Translates the structure from its ISO
representation at the supplied byte pointer.
USAGE NOTES:
attrLen() methods are used to grow or shrink this EA as well as the
Resource Fork data itself. !!! Is padding possible here? How? We
HAVE to propagate up access to more than one length. --
ImplUseLen() and EALen().?
----------------------------------------------------------------------