Functions
sbgStreamBufferLE.h File Reference

Specific method of stream buffer for little endian readings/writings. More...

#include "sbgStreamBufferCommon.h"
Include dependency graph for sbgStreamBufferLE.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

SBG_INLINE double sbgStreamBufferReadDoubleLE (SbgStreamBuffer *pHandle)
 
SBG_INLINE float sbgStreamBufferReadFloatLE (SbgStreamBuffer *pHandle)
 
SBG_INLINE int16 sbgStreamBufferReadInt16LE (SbgStreamBuffer *pHandle)
 
SBG_INLINE int32 sbgStreamBufferReadInt24LE (SbgStreamBuffer *pHandle)
 
SBG_INLINE int32 sbgStreamBufferReadInt32LE (SbgStreamBuffer *pHandle)
 
SBG_INLINE int64 sbgStreamBufferReadInt64LE (SbgStreamBuffer *pHandle)
 
SBG_INLINE size_t sbgStreamBufferReadSizeT32LE (SbgStreamBuffer *pHandle)
 
SBG_INLINE size_t sbgStreamBufferReadSizeT64LE (SbgStreamBuffer *pHandle)
 
SBG_INLINE uint16 sbgStreamBufferReadUint16LE (SbgStreamBuffer *pHandle)
 
SBG_INLINE uint32 sbgStreamBufferReadUint24LE (SbgStreamBuffer *pHandle)
 
SBG_INLINE uint32 sbgStreamBufferReadUint32LE (SbgStreamBuffer *pHandle)
 
SBG_INLINE uint64 sbgStreamBufferReadUint64LE (SbgStreamBuffer *pHandle)
 
SBG_INLINE SbgErrorCode sbgStreamBufferWriteDoubleLE (SbgStreamBuffer *pHandle, double value)
 
SBG_INLINE SbgErrorCode sbgStreamBufferWriteFloatLE (SbgStreamBuffer *pHandle, float value)
 
SBG_INLINE SbgErrorCode sbgStreamBufferWriteInt16LE (SbgStreamBuffer *pHandle, int16 value)
 
SBG_INLINE SbgErrorCode sbgStreamBufferWriteInt24LE (SbgStreamBuffer *pHandle, int32 value)
 
SBG_INLINE SbgErrorCode sbgStreamBufferWriteInt32LE (SbgStreamBuffer *pHandle, int32 value)
 
SBG_INLINE SbgErrorCode sbgStreamBufferWriteInt64LE (SbgStreamBuffer *pHandle, int64 value)
 
SBG_INLINE SbgErrorCode sbgStreamBufferWriteSizeT32LE (SbgStreamBuffer *pHandle, size_t value)
 
SBG_INLINE SbgErrorCode sbgStreamBufferWriteSizeT64LE (SbgStreamBuffer *pHandle, size_t value)
 
SBG_INLINE SbgErrorCode sbgStreamBufferWriteUint16LE (SbgStreamBuffer *pHandle, uint16 value)
 
SBG_INLINE SbgErrorCode sbgStreamBufferWriteUint24LE (SbgStreamBuffer *pHandle, uint32 value)
 
SBG_INLINE SbgErrorCode sbgStreamBufferWriteUint32LE (SbgStreamBuffer *pHandle, uint32 value)
 
SBG_INLINE SbgErrorCode sbgStreamBufferWriteUint64LE (SbgStreamBuffer *pHandle, uint64 value)
 

Detailed Description

Specific method of stream buffer for little endian readings/writings.

Author
SBG Systems (Maxime Renaudet)
Date
17 February 2015

Copyright Notice

Copyright (C) 2007-2013, SBG Systems SAS. All rights reserved.

This source code is intended for use only by SBG Systems SAS and those that have explicit written permission to use it from SBG Systems SAS.

THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.

Definition in file sbgStreamBufferLE.h.

Function Documentation

SBG_INLINE double sbgStreamBufferReadDoubleLE ( SbgStreamBuffer pHandle)

Read an double from a stream buffer (Little endian version).

Parameters
[in]pHandleValid stream buffer handle that supports read operations.
Returns
The read value or 0 if we have an error.

Definition at line 665 of file sbgStreamBufferLE.h.

SBG_INLINE float sbgStreamBufferReadFloatLE ( SbgStreamBuffer pHandle)

Read an float from a stream buffer (Little endian version).

Parameters
[in]pHandleValid stream buffer handle that supports read operations.
Returns
The read value or 0 if we have an error.

Definition at line 616 of file sbgStreamBufferLE.h.

SBG_INLINE int16 sbgStreamBufferReadInt16LE ( SbgStreamBuffer pHandle)

Read an int16 from a stream buffer (Little endian version).

Parameters
[in]pHandleValid stream buffer handle that supports read operations.
Returns
The read value or 0 if we have an error.

Definition at line 35 of file sbgStreamBufferLE.h.

SBG_INLINE int32 sbgStreamBufferReadInt24LE ( SbgStreamBuffer pHandle)

Read an int24 from a stream buffer (Little endian version).

Parameters
[in]pHandleValid stream buffer handle that supports read operations.
Returns
The read value or 0 if we have an error.

Definition at line 177 of file sbgStreamBufferLE.h.

SBG_INLINE int32 sbgStreamBufferReadInt32LE ( SbgStreamBuffer pHandle)

Read an int32 from a stream buffer (Little endian version).

Parameters
[in]pHandleValid stream buffer handle that supports read operations.
Returns
The read value or 0 if we have an error.

Definition at line 287 of file sbgStreamBufferLE.h.

SBG_INLINE int64 sbgStreamBufferReadInt64LE ( SbgStreamBuffer pHandle)

Read an int64 from a stream buffer (Little endian version).

Parameters
[in]pHandleValid stream buffer handle that supports read operations.
Returns
The read value or 0 if we have an error.

Definition at line 433 of file sbgStreamBufferLE.h.

SBG_INLINE size_t sbgStreamBufferReadSizeT32LE ( SbgStreamBuffer pHandle)

Read a size_t from a stream buffer that has been stored in a uint32 (Little endian version).

Parameters
[in]pHandleValid stream buffer handle that supports read operations.
Returns
The read value or 0 if we have an error.

Definition at line 577 of file sbgStreamBufferLE.h.

SBG_INLINE size_t sbgStreamBufferReadSizeT64LE ( SbgStreamBuffer pHandle)

Read a size_t from a stream buffer that has been stored in a uint64 (Little endian version).

Parameters
[in]pHandleValid stream buffer handle that supports read operations.
Returns
The read value or 0 if we have an error.

Definition at line 591 of file sbgStreamBufferLE.h.

SBG_INLINE uint16 sbgStreamBufferReadUint16LE ( SbgStreamBuffer pHandle)

Read an uint16 from a stream buffer (Little endian version).

Parameters
[in]pHandleValid stream buffer handle that supports read operations.
Returns
The read value or 0 if we have an error.

Definition at line 106 of file sbgStreamBufferLE.h.

SBG_INLINE uint32 sbgStreamBufferReadUint24LE ( SbgStreamBuffer pHandle)

Read an uint24 from a stream buffer (Little endian version).

Parameters
[in]pHandleValid stream buffer handle that supports read operations.
Returns
The read value or 0 if we have an error.

Definition at line 232 of file sbgStreamBufferLE.h.

SBG_INLINE uint32 sbgStreamBufferReadUint32LE ( SbgStreamBuffer pHandle)

Read an uint32 from a stream buffer (Little endian version).

Parameters
[in]pHandleValid stream buffer handle that supports read operations.
Returns
The read value or 0 if we have an error.

Definition at line 360 of file sbgStreamBufferLE.h.

SBG_INLINE uint64 sbgStreamBufferReadUint64LE ( SbgStreamBuffer pHandle)

Read an uint64 from a stream buffer (Little endian version).

Parameters
[in]pHandleValid stream buffer handle that supports read operations.
Returns
The read value or 0 if we have an error.

Definition at line 505 of file sbgStreamBufferLE.h.

SBG_INLINE SbgErrorCode sbgStreamBufferWriteDoubleLE ( SbgStreamBuffer pHandle,
double  value 
)

Write an double into a stream buffer. (Little Endian Version).

Parameters
[in]pHandleValid stream buffer handle that supports write operations.
[in]valueThe value to write.
Returns
SBG_NO_ERROR if the value has been successfully written.

Definition at line 1317 of file sbgStreamBufferLE.h.

SBG_INLINE SbgErrorCode sbgStreamBufferWriteFloatLE ( SbgStreamBuffer pHandle,
float  value 
)

Write an float into a stream buffer (Little Endian Version).

Parameters
[in]pHandleValid stream buffer handle that supports write operations.
[in]valueThe value to write.
Returns
SBG_NO_ERROR if the value has been successfully written.

Definition at line 1283 of file sbgStreamBufferLE.h.

SBG_INLINE SbgErrorCode sbgStreamBufferWriteInt16LE ( SbgStreamBuffer pHandle,
int16  value 
)

Write an int16 into a stream buffer (Little Endian Version).

Parameters
[in]pHandleValid stream buffer handle that supports write operations.
[in]valueThe value to write.
Returns
SBG_NO_ERROR if the value has been successfully written.

Definition at line 719 of file sbgStreamBufferLE.h.

SBG_INLINE SbgErrorCode sbgStreamBufferWriteInt24LE ( SbgStreamBuffer pHandle,
int32  value 
)

Write an int24 into a stream buffer (Little Endian Version).

Parameters
[in]pHandleValid stream buffer handle that supports write operations.
[in]valueThe value to write.
Returns
SBG_NO_ERROR if the value has been successfully written.

Definition at line 842 of file sbgStreamBufferLE.h.

SBG_INLINE SbgErrorCode sbgStreamBufferWriteInt32LE ( SbgStreamBuffer pHandle,
int32  value 
)

Write an int32 into a stream buffer (Little Endian Version).

Parameters
[in]pHandleValid stream buffer handle that supports write operations.
[in]valueThe value to write.
Returns
SBG_NO_ERROR if the value has been successfully written.

Definition at line 964 of file sbgStreamBufferLE.h.

SBG_INLINE SbgErrorCode sbgStreamBufferWriteInt64LE ( SbgStreamBuffer pHandle,
int64  value 
)

Write an int64 into a stream buffer (Little Endian Version).

Parameters
[in]pHandleValid stream buffer handle that supports write operations.
[in]valueThe value to write.
Returns
SBG_NO_ERROR if the value has been successfully written.

Definition at line 1094 of file sbgStreamBufferLE.h.

SBG_INLINE SbgErrorCode sbgStreamBufferWriteSizeT32LE ( SbgStreamBuffer pHandle,
size_t  value 
)

Write an size_t into a stream buffer as a uint32 (Little Endian Version).

Parameters
[in]pHandleValid stream buffer handle that supports write operations.
[in]valueThe value to write.
Returns
SBG_NO_ERROR if the value has been successfully written.

Definition at line 1240 of file sbgStreamBufferLE.h.

SBG_INLINE SbgErrorCode sbgStreamBufferWriteSizeT64LE ( SbgStreamBuffer pHandle,
size_t  value 
)

Write an size_t into a stream buffer as a uint64 (Little Endian Version).

Parameters
[in]pHandleValid stream buffer handle that supports write operations.
[in]valueThe value to write.
Returns
SBG_NO_ERROR if the value has been successfully written.

Definition at line 1264 of file sbgStreamBufferLE.h.

SBG_INLINE SbgErrorCode sbgStreamBufferWriteUint16LE ( SbgStreamBuffer pHandle,
uint16  value 
)

Write an uint16 into a stream buffer (Little Endian Version).

Parameters
[in]pHandleValid stream buffer handle that supports write operations.
[in]valueThe value to write.
Returns
SBG_NO_ERROR if the value has been successfully written.

Definition at line 780 of file sbgStreamBufferLE.h.

SBG_INLINE SbgErrorCode sbgStreamBufferWriteUint24LE ( SbgStreamBuffer pHandle,
uint32  value 
)

Write an uint24 into a stream buffer (Little Endian Version).

Parameters
[in]pHandleValid stream buffer handle that supports write operations.
[in]valueThe value to write.
Returns
SBG_NO_ERROR if the value has been successfully written.

Definition at line 903 of file sbgStreamBufferLE.h.

SBG_INLINE SbgErrorCode sbgStreamBufferWriteUint32LE ( SbgStreamBuffer pHandle,
uint32  value 
)

Write an uint32 into a stream buffer (Little Endian Version).

Parameters
[in]pHandleValid stream buffer handle that supports write operations.
[in]valueThe value to write.
Returns
SBG_NO_ERROR if the value has been successfully written.

Definition at line 1029 of file sbgStreamBufferLE.h.

SBG_INLINE SbgErrorCode sbgStreamBufferWriteUint64LE ( SbgStreamBuffer pHandle,
uint64  value 
)

Write an uint64 into a stream buffer (Little Endian Version).

Parameters
[in]pHandleValid stream buffer handle that supports write operations.
[in]valueThe value to write.
Returns
SBG_NO_ERROR if the value has been successfully written.

Definition at line 1167 of file sbgStreamBufferLE.h.



sbg_driver
Author(s):
autogenerated on Sun Jan 27 2019 03:42:20