OffsetBufferExtensionsAppend Method (OffsetBufferByte, Byte) |
Appends a byte array to an OffsetBuffer. A new instance is created.
Namespace: StreamCoders.HelpersAssembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax public static OffsetBuffer<byte> Append(
this OffsetBuffer<byte> buffer1,
byte[] buffer2
)
<ExtensionAttribute>
Public Shared Function Append (
buffer1 As OffsetBuffer(Of Byte),
buffer2 As Byte()
) As OffsetBuffer(Of Byte)
public:
[ExtensionAttribute]
static OffsetBuffer<unsigned char>^ Append(
OffsetBuffer<unsigned char>^ buffer1,
array<unsigned char>^ buffer2
)
[<ExtensionAttribute>]
static member Append :
buffer1 : OffsetBuffer<byte> *
buffer2 : byte[] -> OffsetBuffer<byte>
Parameters
- buffer1
- Type: StreamCodersOffsetBufferByte
The initial buffer to act on.
- buffer2
- Type: SystemByte
The second buffer to append.
Return Value
Type:
OffsetBufferByte
An OffsetBuffer<byte>
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
OffsetBufferByte. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also