tagion_create_dartindex

Calculate the dartindex for a Document The dartindex is what is used to reference the document in the DART database

extern (C) nothrow
int
tagion_create_dartindex
(
const(uint8_t*) doc_ptr
,
const size_t doc_len
,
uint8_t** dart_index_buf
,)

Parameters

doc_ptr const(uint8_t*)

The pointer to the serialized document

doc_len size_t

The length of the document

dart_index_buf uint8_t**

The resulting dartindex

dart_index_buf_len size_t*

The length of the resulting dartindex (should always be 32 bytes)

Return Value

Type: int