Serialize Record
Serialize Record
IPNS Serialize Record Serializes a given record structure into protobuf-encoded byte array. This function requires
inputs as follows:
Record1 : Record structure, record to be serialized.

If successful, returns the Serialized 2 data, which is an array of bytes.