JpegColorCodec.EncodeAsync Method (KinectEx.DVR)

Encodes the specified bitmap data and outputs it to the specified BinaryWriter. Bitmap data should be in BGRA format. For internal use only.

Namespace: KinectEx.DVR
Assembly: KinectEx (KinectEx.dll 0.4.0.0)
  • C#
  • VB
  • C++
  • F#
[DebuggerStepThroughAttribute]
[AsyncStateMachineAttribute(KinectEx.DVR.JpegColorCodec/<EncodeAsync>d__4)]
public sealed Task EncodeAsync(
	Byte[] bytes, 
	BinaryWriter writer
)

Syntax for VB is not yet implemented.

Syntax for C++ is not yet implemented

[<DebuggerStepThroughAttribute>]
[<AsyncStateMachineAttribute(KinectEx.DVR.JpegColorCodec/<EncodeAsync>d__4)>]
member EncodeAsync : 
	bytes : Byte[] * 
	writer : BinaryWriter -> Task

Parameters

bytes
Type: System.Byte[]
writer
Type: System.IO.BinaryWriter

Return Value

Type: System.Threading.Tasks.Task
Supported in:

    
 Windows Desktop - .NET 4.5
    
 Windows Desktop - .NET 4.5 (without Kinect SDK)
    
 Windows 8.1 Store - WinRT
    
 Windows 8.1 Store - WinRT (without Kinect SDK)
    
 Windows Phone 8 - WinRT