Encodes linear 16-bit linear PCM to 8-bit ulaw.
![](../icons/collapse_all.gif)
C# | Visual Basic | Visual 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()
public: 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[]
![](../icons/collapse_all.gif)
![](../icons/collapse_all.gif)
Exception | Condition |
---|---|
ArgumentNullException | Is raised 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