ScEncodingRange Struct Reference

Public Member Functions

void sc_encoding_range_free (ScEncodingRange encoding_range)
 
ScEncodingRange sc_encoding_range_new (const char *c_str, uint32_t start, uint32_t end)
 

Data Fields

ScData encoding
 
uint32_t start
 
uint32_t end
 

Detailed Description

Character encoding of a range of bytes.

Since
5.8.0

Member Function Documentation

void sc_encoding_range_free ( ScEncodingRange  encoding_range)

Frees the data of the encoding range.

Parameters
encoding_rangeThe encoding range.
Since
5.8.0
ScEncodingRange sc_encoding_range_new ( const char *  c_str,
uint32_t  start,
uint32_t  end 
)

Create new ScEncodingRange.

Returns
The created ScEncodingRange.
Parameters
c_strThe encoding string (e.g. ASCII)
startstarting index of the encoding string in the code
endending index of the encoding string in the code
Since
5.8.0

The documentation for this struct was generated from the following file: