resetData (method)
Resets the values of all data and stream properties.
Syntax
- (void)resetData;
public func resetData() throws -> Void
Remarks
This method resets the values of all data and stream properties. It is an easy way to reset the class's properties before another call to Encode or Decode. The input and output streams and the data and file properties will all be reset.