[cff-common] Remove unused INDEX::serialize() method

This commit is contained in:
Behdad Esfahbod 2022-05-09 15:48:18 -06:00
parent 60390169b6
commit be7b2905cb
1 changed files with 0 additions and 10 deletions

View File

@ -81,16 +81,6 @@ struct CFFIndex
return_trace (out);
}
bool serialize (hb_serialize_context_t *c, const CFFIndex &src)
{
TRACE_SERIALIZE (this);
unsigned int size = src.get_size ();
CFFIndex *dest = c->allocate_size<CFFIndex> (size);
if (unlikely (!dest)) return_trace (false);
memcpy (dest, &src, size);
return_trace (true);
}
bool serialize (hb_serialize_context_t *c,
unsigned int offSize_,
const byte_str_array_t &byteArray)