Discuss this help topic in SecureBlackbox Forum


TElWebSocketMessage     See also     

Filter: C#/Java  VB.NET  Pascal  C++  PHP  

Saves the message to buffer.


    bool SaveToBuffer(ref byte[] Buffer, ref int Size);

    Function SaveToBuffer(ByRef Buffer As Byte(), ByRef Size As Integer) As Boolean

    function SaveToBuffer(var Buffer : ByteArray; var Size : integer) : boolean; virtual;

    bool SaveToBuffer(std::vector<uint8_t> &Buffer, int32_t &Size);

    bool SaveToBuffer(array of byte|string &$Buffer, integer &$Size)


  • Buffer - the buffer where the data should be stored.
  • Size - specifies the number of bytes that were actually saved.

Return value

    Returns True if the message was successfully saved, and False otherwise.


    Use this method to save the message to a memory buffer.

See also:     LoadFromBuffer    

Discuss this help topic in SecureBlackbox Forum