source/Socket.cpp
byteLen_t xiSocket::ReadInt64( const char * const buffer, void * const varptr ) {
	const byteLen_t size = sizeof( uint64_t );

	uint64_t num = *( uint64_t * )buffer;
	num = Endian::NetworkToHostUnsigned( num, size );

	memcpy( varptr, &num, size );

	return size;
}
/*
====================
xiSocket::ReadInt64

	Function for reading 8 bytes from a given buffer
	The bytes are stored in varptr
====================
*/
:ReadInt64
Function for reading 8 bytes from a given buffer
The bytes are stored in varptr
: ReadInt64 Function for reading 8 bytes from a given buffer The bytes are stored in varptr
byteLen_t xiSocket::ReadInt64( const char * const buffer, void * const varptr ) {
	const byteLen_t size = sizeof( uint64_t );
	uint64_t num = *( uint64_t * )buffer;
	num = Endian::NetworkToHostUnsigned( num, size );
	memcpy( varptr, &num, size );
	return size;
}
byteLen_t xiSocket :: ReadInt64 ( const char * const buffer , void * const varptr ) { const byteLen_t size = sizeof ( uint64_t ) ; uint64_t num = * ( uint64_t * ) buffer ; num = Endian :: NetworkToHostUnsigned ( num , size ) ; memcpy ( varptr , & num , size ) ; return size ; }
xiSocket::ReadInt64
Function for reading 8 bytes from a given buffer
The bytes are stored in varptr
xiSocket :: ReadInt64 Function for reading 8 bytes from a given buffer The bytes are stored in varptr