在delphi中有没有类似c中的memset或sdk中的ZeroMemory的函数?

解决方案 »

  1.   

    FillChar(var X; Count: Integer; Value: Byte);
      

  2.   

    Provides a placeholder for a method to change the size of the streamed resource.procedure SetSize(NewSize: Longint); overload; virtual;
    procedure SetSize(const NewSize: Int64); overload; virtual;DescriptionSetSize does nothing in TStream. Descendant stream classes can override this method to set the Size property of their objects. SetSize is the write procedure for the Size property. Note: SetSize is introduced in TStream, even though it does nothing, because it is not possible to change the definition of a property in a descendant class. SetSize must therefore be introduced when Size is introduced.
      

  3.   

    illChar(var X; Count: Integer; Value: Byte);