Ace_Decoder_Hex_Get()

Abstract

Returns the hexadecimal representation of a binary buffer.

Syntax

Ace_Decoder_Hex_Get (buffer, buffer_size, hex_lptr)
Argument Type Description
buffer const unsigned char * Buffer to be displayed as hex.
buffer_size int Size of buffer, in bytes.
hex_lptr PrgT_List * List to hold the hex output.

Return Type

int

PRGC_TRUE if the operation was successful; PRGC_FALSE otherwise.

ace_client_api.h

Example

Ace_Decoder_Hex_Get (raw_buffer + *total_bytes_parsed_ptr, num_bytes, details_lptr);

Details

This function takes a binary buffer and returns a list of text lines containing hex and ASCII representations of the binary data. It is useful for debugging decoder operation.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com