Functions
sbgStreamBufferBE.h File Reference

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

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

Go to the source code of this file.

Functions

SBG_INLINE double sbgStreamBufferReadDoubleBE (SbgStreamBuffer *pHandle)
 
SBG_INLINE float sbgStreamBufferReadFloatBE (SbgStreamBuffer *pHandle)
 
SBG_INLINE int16 sbgStreamBufferReadInt16BE (SbgStreamBuffer *pHandle)
 
SBG_INLINE int32 sbgStreamBufferReadInt24BE (SbgStreamBuffer *pHandle)
 
SBG_INLINE int32 sbgStreamBufferReadInt32BE (SbgStreamBuffer *pHandle)
 
SBG_INLINE int64 sbgStreamBufferReadInt64BE (SbgStreamBuffer *pHandle)
 
SBG_INLINE size_t sbgStreamBufferReadSizeT32BE (SbgStreamBuffer *pHandle)
 
SBG_INLINE size_t sbgStreamBufferReadSizeT64BE (SbgStreamBuffer *pHandle)
 
SBG_INLINE uint16 sbgStreamBufferReadUint16BE (SbgStreamBuffer *pHandle)
 
SBG_INLINE uint32 sbgStreamBufferReadUint24BE (SbgStreamBuffer *pHandle)
 
SBG_INLINE uint32 sbgStreamBufferReadUint32BE (SbgStreamBuffer *pHandle)
 
SBG_INLINE uint64 sbgStreamBufferReadUint64BE (SbgStreamBuffer *pHandle)
 
SBG_INLINE SbgErrorCode sbgStreamBufferWriteDoubleBE (SbgStreamBuffer *pHandle, double value)
 
SBG_INLINE SbgErrorCode sbgStreamBufferWriteFloatBE (SbgStreamBuffer *pHandle, float value)
 
SBG_INLINE SbgErrorCode sbgStreamBufferWriteInt16BE (SbgStreamBuffer *pHandle, int16 value)
 
SBG_INLINE SbgErrorCode sbgStreamBufferWriteInt24BE (SbgStreamBuffer *pHandle, int32 value)
 
SBG_INLINE SbgErrorCode sbgStreamBufferWriteInt32BE (SbgStreamBuffer *pHandle, int32 value)
 
SBG_INLINE SbgErrorCode sbgStreamBufferWriteInt64BE (SbgStreamBuffer *pHandle, int64 value)
 
SBG_INLINE SbgErrorCode sbgStreamBufferWriteSizeT32BE (SbgStreamBuffer *pHandle, size_t value)
 
SBG_INLINE SbgErrorCode sbgStreamBufferWriteSizeT64BE (SbgStreamBuffer *pHandle, size_t value)
 
SBG_INLINE SbgErrorCode sbgStreamBufferWriteUint16BE (SbgStreamBuffer *pHandle, uint16 value)
 
SBG_INLINE SbgErrorCode sbgStreamBufferWriteUint24BE (SbgStreamBuffer *pHandle, uint32 value)
 
SBG_INLINE SbgErrorCode sbgStreamBufferWriteUint32BE (SbgStreamBuffer *pHandle, uint32 value)
 
SBG_INLINE SbgErrorCode sbgStreamBufferWriteUint64BE (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 sbgStreamBufferBE.h.

Function Documentation

SBG_INLINE double sbgStreamBufferReadDoubleBE ( SbgStreamBuffer pHandle)

Read an double from a stream buffer (Big 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 sbgStreamBufferBE.h.

SBG_INLINE float sbgStreamBufferReadFloatBE ( SbgStreamBuffer pHandle)

Read an float from a stream buffer (Big 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 sbgStreamBufferBE.h.

SBG_INLINE int16 sbgStreamBufferReadInt16BE ( SbgStreamBuffer pHandle)

Read an int16 from a stream buffer (Big 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 sbgStreamBufferBE.h.

SBG_INLINE int32 sbgStreamBufferReadInt24BE ( SbgStreamBuffer pHandle)

Read an int24 from a stream buffer (Big 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 sbgStreamBufferBE.h.

SBG_INLINE int32 sbgStreamBufferReadInt32BE ( SbgStreamBuffer pHandle)

Read an int32 from a stream buffer (Big 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 sbgStreamBufferBE.h.

SBG_INLINE int64 sbgStreamBufferReadInt64BE ( SbgStreamBuffer pHandle)

Read an int64 from a stream buffer (Big 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 sbgStreamBufferBE.h.

SBG_INLINE size_t sbgStreamBufferReadSizeT32BE ( SbgStreamBuffer pHandle)

Read a size_t from a stream buffer that has been stored in a uint32 (Big 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 sbgStreamBufferBE.h.

SBG_INLINE size_t sbgStreamBufferReadSizeT64BE ( SbgStreamBuffer pHandle)

Read a size_t from a stream buffer that has been stored in a uint64 (Big 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 sbgStreamBufferBE.h.

SBG_INLINE uint16 sbgStreamBufferReadUint16BE ( SbgStreamBuffer pHandle)

Read an uint16 from a stream buffer (Big 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 sbgStreamBufferBE.h.

SBG_INLINE uint32 sbgStreamBufferReadUint24BE ( SbgStreamBuffer pHandle)

Read an uint24 from a stream buffer (Big 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 sbgStreamBufferBE.h.

SBG_INLINE uint32 sbgStreamBufferReadUint32BE ( SbgStreamBuffer pHandle)

Read an uint32 from a stream buffer (Big 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 sbgStreamBufferBE.h.

SBG_INLINE uint64 sbgStreamBufferReadUint64BE ( SbgStreamBuffer pHandle)

Read an uint64 from a stream buffer (Big 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 sbgStreamBufferBE.h.

SBG_INLINE SbgErrorCode sbgStreamBufferWriteDoubleBE ( SbgStreamBuffer pHandle,
double  value 
)

Write an double into a stream buffer (Big 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 1316 of file sbgStreamBufferBE.h.

SBG_INLINE SbgErrorCode sbgStreamBufferWriteFloatBE ( SbgStreamBuffer pHandle,
float  value 
)

Write an float into a stream buffer (Big 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 1282 of file sbgStreamBufferBE.h.

SBG_INLINE SbgErrorCode sbgStreamBufferWriteInt16BE ( SbgStreamBuffer pHandle,
int16  value 
)

Write an int16 into a stream buffer (Big 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 sbgStreamBufferBE.h.

SBG_INLINE SbgErrorCode sbgStreamBufferWriteInt24BE ( SbgStreamBuffer pHandle,
int32  value 
)

Write an int24 into a stream buffer (Big 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 841 of file sbgStreamBufferBE.h.

SBG_INLINE SbgErrorCode sbgStreamBufferWriteInt32BE ( SbgStreamBuffer pHandle,
int32  value 
)

Write an int32 into a stream buffer (Big 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 963 of file sbgStreamBufferBE.h.

SBG_INLINE SbgErrorCode sbgStreamBufferWriteInt64BE ( SbgStreamBuffer pHandle,
int64  value 
)

Write an int64 into a stream buffer (Big 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 1093 of file sbgStreamBufferBE.h.

SBG_INLINE SbgErrorCode sbgStreamBufferWriteSizeT32BE ( SbgStreamBuffer pHandle,
size_t  value 
)

Write an size_t into a stream buffer as a uint32 (Big 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 1239 of file sbgStreamBufferBE.h.

SBG_INLINE SbgErrorCode sbgStreamBufferWriteSizeT64BE ( SbgStreamBuffer pHandle,
size_t  value 
)

Write an size_t into a stream buffer as a uint64 (Big 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 1263 of file sbgStreamBufferBE.h.

SBG_INLINE SbgErrorCode sbgStreamBufferWriteUint16BE ( SbgStreamBuffer pHandle,
uint16  value 
)

Write an uint16 into a stream buffer (Big 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 sbgStreamBufferBE.h.

SBG_INLINE SbgErrorCode sbgStreamBufferWriteUint24BE ( SbgStreamBuffer pHandle,
uint32  value 
)

Write an uint24 into a stream buffer (Big 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 902 of file sbgStreamBufferBE.h.

SBG_INLINE SbgErrorCode sbgStreamBufferWriteUint32BE ( SbgStreamBuffer pHandle,
uint32  value 
)

Write an uint32 into a stream buffer (Big 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 1028 of file sbgStreamBufferBE.h.

SBG_INLINE SbgErrorCode sbgStreamBufferWriteUint64BE ( SbgStreamBuffer pHandle,
uint64  value 
)

Write an uint64 into a stream buffer (Big 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 1166 of file sbgStreamBufferBE.h.



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