INFORMIX
DataBlade API Programmer's Manual
Chapter 12: DataBlade API Function Descriptions
Home Contents Index Master Index New Book

mi_get_bytes()

The mi_get_bytes() function copies the given number of bytes from a buffer regardless of alignment.

Syntax

Usage

The mi_get_bytes() function is useful for implementing send and receive functions for user data types when aligned values such as mi_integer need to be read from possibly unaligned data buffers.

The returned address is advanced nbytes bytes, ready for a subsequent call to copy additional bytes.

Return Values

Returns an address in datap.

Related Topics

For additional information, see the descriptions of the following functions: mi_fix_integer(), mi_fix_smallint(), mi_get_double_precision(), mi_get_integer(), mi_get_smallint(), mi_put_bytes(), mi_put_double_precision(), mi_put_integer(), and mi_put_smallint().




DataBlade API Programmer's Manual, version 9.1
Copyright © 1998, Informix Software, Inc. All rights reserved.