OffsetBufferTCopyFrom Method |
Copies elements into local buffer.
Namespace: StreamCodersAssembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax public OffsetBuffer<T> CopyFrom(
T[] buffer,
int offset,
int count
)
Public Function CopyFrom (
buffer As T(),
offset As Integer,
count As Integer
) As OffsetBuffer(Of T)
public:
OffsetBuffer<T>^ CopyFrom(
array<T>^ buffer,
int offset,
int count
)
member CopyFrom :
buffer : 'T[] *
offset : int *
count : int -> OffsetBuffer<'T>
Parameters
- buffer
- Type: T
The source buffer to copy from. - offset
- Type: SystemInt32
The offset in the source buffer. - count
- Type: SystemInt32
The number of elements to copy from source buffer.
Return Value
Type:
OffsetBufferTExceptions Exception | Condition |
---|
IndexOutOfRangeException |
Thrown when the index is outside the required range.
|
See Also