Discuss this help topic in SecureBlackbox Forum

TElWebSocketMessage.LoadFromBuffer

TElWebSocketMessage     See also     


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


This topic is under developmentā€¦

Declaration

[C#]
    bool LoadFromBuffer(byte[] Buffer, int Offset, int Size);

[VB.NET]
    Function LoadFromBuffer(ByVal Buffer As Byte(), ByVal Offset As Integer, ByVal Size As Integer) As Boolean

[Pascal]
    function LoadFromBuffer(const Buffer : ByteArray; Offset, Size : integer) : boolean; virtual;

[C++]
    bool LoadFromBuffer(const std::vector<uint8_t> &Buffer, int32_t Offset, int32_t Size);

[PHP]
    bool LoadFromBuffer(array of byte|string|NULL $Buffer, integer $Offset, integer $Size)

[Java]
    boolean loadFromBuffer(byte[] Buffer, int Offset, int Size);

Parameters

  • Buffer - the buffer cotaining the message.
  • Offset - specifies the offset of the message data in Buffer.
  • Size - specifies the number of bytes to be read from Buffer.

Return value

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

Description

    Call this method to load a WebSocket message from memory buffer.

See also:     SaveToBuffer    

Discuss this help topic in SecureBlackbox Forum