Wiki Page Content

Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2010-06-16 23:18:27
Size: 932
Editor: SheenaSmith
Comment: create page, add content (Wed Mar 10 ver; changeset 4428)
Revision 3 as of 2010-10-13 19:50:04
Size: 1182
Editor: SheenaSmith
Comment: update content - pointers, structs
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:

<<Color2(green,This is the generalized description from the header. Should it be adjusted to be specific for each function for the wiki? ie: Use this function to write an item of native format to little-endian format.)>>
Line 17: Line 19:
||'''dst'''||^a pointer to the destination for the endian data to be written^||
||'''value'''||^the native format value to convert to endian format^||
||'''dst'''||^the SDL_RWops structure to be filled^||
||'''value'''||^the data to write as little-endian^||
Line 21: Line 23:
^A little-endian value of size_t???????????^ The size (in bytes) of the data that was written, or 0 for error; call [[SDL_GetError]]() for more information.

DRAFT

SDL_WriteLE16

Use this function to write an item of native format to the specified endianness.

green

Syntax

size_t SDL_WriteLE16(SDL_RWops* dst,
                     Uint16     value)

Function Parameters

dst

the SDL_RWops structure to be filled

value

the data to write as little-endian

Return Value

The size (in bytes) of the data that was written, or 0 for error; call SDL_GetError() for more information.

Code Examples

You can add your code example here

Remarks

You can add useful comments here

green


CategoryAPI, CategoryIO

None: SDL_WriteLE16 (last edited 2015-12-19 22:25:09 by PhilippWiesemann)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit