Wraps a byte array as a new ByteBuffer instance
Namespace:
Kaazing.HTML5Assembly: Kaazing.Gateway (in Kaazing.Gateway.dll)
Syntax
Visual Basic |
---|
Public Shared Function Wrap ( _ bytes As Byte() _ ) As ByteBuffer |
C# |
---|
public static ByteBuffer Wrap( byte[] bytes ) |
Visual C++ |
---|
public: static ByteBuffer^ Wrap( array<unsigned char>^ bytes ) |
Parameters
- bytes
- Type: array<System..::..Byte>[]()[][]
An array of bytes