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

This commit is contained in:
Behdad Esfahbod committed 2022-05-09 17:34:58 -06:00
1 parent 60390169b6
commit be7b2905cb
1 file changed
-10
-10
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)