C# 클래스 HidSharp.ReportDescriptors.Units.Unit

Describes the units of a report value.
파일 보기 프로젝트 열기: arvydas/BlinkStickDotNet

공개 메소드들

메소드 설명
DecodeExponent ( uint value ) : int

Decodes an encoded HID unit exponent.

EncodeExponent ( int value ) : uint

Encodes an exponent in HID unit form.

Unit ( uint value ) : System

Initializes a new instance of the Unit class.

비공개 메소드들

메소드 설명
Element ( int index ) : uint
Element ( int index, uint value ) : void
Exponent ( int index ) : int
Exponent ( int index, int value ) : void

메소드 상세

DecodeExponent() 공개 정적인 메소드

Decodes an encoded HID unit exponent.
public static DecodeExponent ( uint value ) : int
value uint The encoded exponent.
리턴 int

EncodeExponent() 공개 정적인 메소드

Encodes an exponent in HID unit form.
public static EncodeExponent ( int value ) : uint
value int The exponent.
리턴 uint

Unit() 공개 메소드

Initializes a new instance of the Unit class.
public Unit ( uint value ) : System
value uint The raw HID value describing the units.
리턴 System