- Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
- Chapter 17 - File Objects / File Objects Reference
- File Objects Routines
Reading and Writing File Data
QuickDraw 3D provides routines that you can use to access custom data in a file object. In all cases, the reading or writing occurs at the current file position, and the file position is advanced if the read or write operation completes successfully.
- IMPORTANT
- You should call the
_Read functions only in a custom read data method (of type kQ3MethodTypeObjectReadData), and you should call the _Write functions only in a custom write method (of type kQ3MethodTypeObjectWrite).
These functions can read and write data in either text or binary files.
Subtopics
- Q3Uns8_Read
-
- Q3Uns8_Write
-
- Q3Uns16_Read
-
- Q3Uns16_Write
-
- Q3Uns32_Read
-
- Q3Uns32_Write
-
- Q3Int32_Read
-
- Q3Int32_Write
-
- Q3Uns64_Read
-
- Q3Uns64_Write
-
- Q3Float32_Read
-
- Q3Float32_Write
-
- Q3Float64_Read
-
- Q3Float64_Write
-
- Q3Size_Pad
-
- Q3String_Read
-
- Q3String_Write
-
- Q3RawData_Read
-
- Q3RawData_Write
-
- Q3Point2D_Read
-
- Q3Point2D_Write
-
- Q3Point3D_Read
-
- Q3Point3D_Write
-
- Q3RationalPoint3D_Read
-
- Q3RationalPoint3D_Write
-
- Q3RationalPoint4D_Read
-
- Q3RationalPoint4D_Write
-
- Q3Vector2D_Read
-
- Q3Vector2D_Write
-
- Q3Vector3D_Read
-
- Q3Vector3D_Write
-
- Q3Matrix4x4_Read
-
- Q3Matrix4x4_Write
-
- Q3Tangent2D_Read
-
- Q3Tangent2D_Write
-
- Q3Tangent3D_Read
-
- Q3Tangent3D_Write
-
- Q3Comment_Write
-
© Apple Computer, Inc.
11 JUL 1996