MySQL 8.0.40
Source Code Documentation
|
Full text variable length integer encoding/decoding. More...
#include "fts0types.h"
Macros | |
#define | INNOBASE_FTS0VLC_IC |
Functions | |
ulint | fts_get_encoded_len (ulint val) |
Return length of val if it were encoded using our VLC scheme. More... | |
ulint | fts_encode_int (ulint val, byte *buf) |
Encode an integer using our VLC scheme and return the length in bytes. More... | |
ulint | fts_decode_vlc (byte **ptr) |
Decode and return the integer that was encoded using our VLC scheme. More... | |
Full text variable length integer encoding/decoding.
Created 2007-03-27 Sunny Bains
#define INNOBASE_FTS0VLC_IC |
Decode and return the integer that was encoded using our VLC scheme.
ptr | out: value decoded |
Encode an integer using our VLC scheme and return the length in bytes.