webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Functions
WTF::LEBDecoder Namespace Reference

Functions

template<typename T >
bool WARN_UNUSED_RETURN decodeUInt (const uint8_t *bytes, size_t length, size_t &offset, T &result)
 
template<typename T >
bool WARN_UNUSED_RETURN decodeInt (const uint8_t *bytes, size_t length, size_t &offset, T &result)
 
bool WARN_UNUSED_RETURN decodeUInt32 (const uint8_t *bytes, size_t length, size_t &offset, uint32_t &result)
 
bool WARN_UNUSED_RETURN decodeUInt64 (const uint8_t *bytes, size_t length, size_t &offset, uint64_t &result)
 
bool WARN_UNUSED_RETURN decodeInt32 (const uint8_t *bytes, size_t length, size_t &offset, int32_t &result)
 
bool WARN_UNUSED_RETURN decodeInt64 (const uint8_t *bytes, size_t length, size_t &offset, int64_t &result)
 

Function Documentation

◆ decodeInt()

template<typename T >
bool WARN_UNUSED_RETURN WTF::LEBDecoder::decodeInt ( const uint8_t bytes,
size_t  length,
size_t offset,
T result 
)
inline

◆ decodeInt32()

bool WARN_UNUSED_RETURN WTF::LEBDecoder::decodeInt32 ( const uint8_t bytes,
size_t  length,
size_t offset,
int32_t result 
)
inline

◆ decodeInt64()

bool WARN_UNUSED_RETURN WTF::LEBDecoder::decodeInt64 ( const uint8_t bytes,
size_t  length,
size_t offset,
int64_t result 
)
inline

◆ decodeUInt()

template<typename T >
bool WARN_UNUSED_RETURN WTF::LEBDecoder::decodeUInt ( const uint8_t bytes,
size_t  length,
size_t offset,
T result 
)
inline

◆ decodeUInt32()

bool WARN_UNUSED_RETURN WTF::LEBDecoder::decodeUInt32 ( const uint8_t bytes,
size_t  length,
size_t offset,
uint32_t result 
)
inline

◆ decodeUInt64()

bool WARN_UNUSED_RETURN WTF::LEBDecoder::decodeUInt64 ( const uint8_t bytes,
size_t  length,
size_t offset,
uint64_t result 
)
inline