Match compares a key bytes to a serial, all indexes have the serial at
the end indicating the event record they refer to, and if they match returns
true.
New returns a new serial record key.Element - if nil or short slice is given,
initialize a fresh one with Len (for reading), otherwise if equal or longer,
trim if long and store into struct (for writing).