SL_MakeForeignWordBuffer


NAME
SL_MakeForeignWordBuffer -- converts a native WORD to the specified byte order.

SYNOPSIS
SL_MakeForeignWordBuffer(buff, num, byteorder);
A0 D0 D1

void SL_MakeForeignWordBuffer(void *, WORD, UWORD);

FUNCTION
Turns a native format word into a foreign format word. The format of
the foreign word is specified by the byteorder argument. The buffer
does not need any special alignment restrictions (other than byte).

INPUTS
buff - a pointer to a buffer that recieves the converted two bytes.
num - the native format word to convert.
byteorder - one of BYTEORDER_INTEL or BYTEORDER_MOTOROLA.

SEE ALSO
SL_MakeNativeLong, SL_MakeNativeLongBuffer, SL_MakeNativeWord, SL_MakeNativeWordBuffer, SL_MakeForeignWord, SL_MakeForeignWordBuffer, SL_MakeForeignLong, SL_MakeForeignLongBuffer.

 

SL_MakeForeignWordBuffer  Command Section By Type  url:SL_MakeForeignWordBuffer
  created:2008-03-01 23:36:38   last updated:2008-03-01 23:36:38
  Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For SL_MakeForeignWordBuffer
There are no user contributed comments for this page.