LumiSoft Net Help
Decode Method (buffer, offset, count)
Namespaces ► LumiSoft.Net.Media.Codec.Audio ► PCMU ► Decode(array<Byte>[]()[][], Int32, Int32)
Decodes 8-bit ulaw to linear 16-bit PCM.
Declaration Syntax

C# | Visual Basic | Visual C++ | F#

    public override byte[] Decode(
    	byte[] buffer,
    	int offset,
    	int count
    )

    Public Overrides Function Decode (
    	buffer As Byte(),
    	offset As Integer,
    	count As Integer
    ) As Byte()

    public:
    virtual array<unsigned char>^ Decode(
    	array<unsigned char>^ buffer,
    	int offset,
    	int count
    ) override

    abstract Decode :
            buffer : byte[] *
            offset : int *
            count : int -> byte[]
    override Decode :
            buffer : byte[] *
            offset : int *
            count : int -> byte[]

Parameters

buffer (array<Byte>[]()[][])
  Data to decode. Data must be in Little-Endian format.

offset (Int32)
  Offset in the buffer.

count (Int32)
  Number of bytes to decode.

Return Value
array<Byte>[]()[][]
Returns decoded data.
Exceptions

Exception | Condition
--- | ---
ArgumentNullException | Is riased when buffer is null reference value.
ArgumentException | Is raised when any of the arguments has invalid value.

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