LumiSoft Net Help
Encode Method (buffer, offset, count)
NamespacesLumiSoft.Net.Media.Codec.AudioPCMAEncode(array<Byte>[]()[][], Int32, Int32)
Encodes linear 16-bit linear PCM to 8-bit alaw.
Declaration Syntax
C#Visual BasicVisual C++F#
public override byte[] Encode(
	byte[] buffer,
	int offset,
	int count
Public Overrides Function Encode ( 
	buffer As Byte(),
	offset As Integer,
	count As Integer
) As Byte()
virtual array<unsigned char>^ Encode(
	array<unsigned char>^ buffer, 
	int offset, 
	int count
) override
abstract Encode : 
        buffer : byte[] * 
        offset : int * 
        count : int -> byte[] 
override Encode : 
        buffer : byte[] * 
        offset : int * 
        count : int -> byte[] 
buffer (array<Byte>[]()[][])
Data to encode. Data must be in Little-Endian format.
offset (Int32)
Offset in the buffer.
count (Int32)
Number of bytes to encode.
Return Value
Returns encoded block.
ArgumentNullExceptionIs raised when buffer is null reference.
ArgumentExceptionIs raised when any of the arguments has invalid value.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119