code: public final void clear () {
  
          basicHeaderSegment.clear();
  
          headerDigest.reset();
  
          additionalHeaderSegments.clear();
  
          dataSegment.clear();
          dataSegment.flip();
  
          dataDigest.reset();
      }
docs: Clears all stored content of this ProtocolDataUnit object.