MediaBufferT Constructor (T, Int32, Int32) |
Creates a MediaBuffer by passing an external array. This buffer will not be associated
with a LockableRingBuffer.
Namespace: StreamCodersAssembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax public MediaBuffer(
T[] array,
int offset,
int count
)
Public Sub New (
array As T(),
offset As Integer,
count As Integer
)
public:
MediaBuffer(
array<T>^ array,
int offset,
int count
)
new :
array : 'T[] *
offset : int *
count : int -> MediaBuffer
Parameters
- array
- Type: T
The array of elements to associate. - offset
- Type: SystemInt32
Offset into array. - count
- Type: SystemInt32
Number of relevant elements.
See Also