doneRecording()
Invoked to signal to the encoder that no further record... calls will be made on it.
Declaration
mutating func doneRecording() throwsDiscussion
Useful if the encoder needs to perform some “final” task before the underlying message is considered complete, e.g. computing a checksum, or some additional message signing or finalization step.