C# 클래스 BerLib.BerEncoding

파일 보기 프로젝트 열기: Lawo/ember-plus 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
IndefiniteLengthTerminator byte[]

Private Properties

프로퍼티 타입 설명
DecodeLong long
DoubleToInt64Bits long
EncodeObjectSubidentifier int
GetLongLength int
GetObjectSubidentifierLength int
Int64BitsToDouble double
ReadString byte[]

공개 메소드들

메소드 설명
DecodeAsciiString ( IBerInput input, int length ) : string
DecodeBoolean ( IBerInput input ) : bool
DecodeByteArray ( IBerInput input, int length ) : byte[]
DecodeGeneralizedTime ( IBerInput input, int length ) : System.DateTime
DecodeInteger ( IBerInput input, int length ) : int
DecodeLength ( IBerInput input ) : int
DecodeLong ( IBerInput input, int length ) : long
DecodeMultiByteInteger ( IBerInput input ) : uint
DecodeMultiByteInteger ( IBerInput input, int &consumedByteCount ) : uint
DecodeMultiByteLong ( IBerInput input ) : ulong
DecodeObjectIdentifier ( IBerInput input, int length ) : int[]
DecodeReal ( IBerInput input, int length ) : double
DecodeRelativeOid ( IBerInput input, int length ) : int[]
DecodeTag ( IBerInput input ) : BerTag
DecodeUtf8String ( IBerInput input, int length ) : string
EncodeAsciiString ( IBerOutput output, string value ) : int
EncodeBoolean ( IBerOutput output, bool value ) : int
EncodeByteArray ( IBerOutput output, byte value ) : int
EncodeGeneralizedTime ( IBerOutput output, System.DateTime value ) : int
EncodeInteger ( IBerOutput output, int value, int length ) : int
EncodeLength ( IBerOutput output, int value ) : int
EncodeLong ( IBerOutput output, long value, int length ) : int
EncodeMultiByteInteger ( IBerOutput output, uint value ) : int
EncodeMultiByteLong ( IBerOutput output, ulong value ) : int
EncodeObjectIdentifier ( IBerOutput output, int values ) : int
EncodeReal ( IBerOutput output, double value ) : int
EncodeRelativeOid ( IBerOutput output, int value ) : int
EncodeTag ( IBerOutput output, BerTag tag ) : int
EncodeUtf8String ( IBerOutput output, string value ) : int
GetAsciiStringLength ( string str ) : int
GetHeaderLength ( BerTag tag, int length ) : int
GetIntegerLength ( int value ) : int
GetLongLength ( long value ) : int
GetMultiByteIntegerLength ( uint value ) : int
GetMultiByteLongLength ( ulong value ) : int
GetObjectIdentifierLength ( int value ) : int
GetRelativeOidLength ( int value ) : int
GetTagLength ( BerTag tag ) : int
GetUtf8StringLength ( string str ) : int

비공개 메소드들

메소드 설명
DecodeLong ( IBerInput input, int length, bool isSigned ) : long
DoubleToInt64Bits ( double value ) : long
EncodeObjectSubidentifier ( IBerOutput output, int value, List bytes ) : int
GetLongLength ( long value, bool isSigned ) : int
GetObjectSubidentifierLength ( int value ) : int
Int64BitsToDouble ( long value ) : double
ReadString ( IBerInput input, int &length ) : byte[]

메소드 상세

DecodeAsciiString() 공개 정적인 메소드

public static DecodeAsciiString ( IBerInput input, int length ) : string
input IBerInput
length int
리턴 string

DecodeBoolean() 공개 정적인 메소드

public static DecodeBoolean ( IBerInput input ) : bool
input IBerInput
리턴 bool

DecodeByteArray() 공개 정적인 메소드

public static DecodeByteArray ( IBerInput input, int length ) : byte[]
input IBerInput
length int
리턴 byte[]

DecodeGeneralizedTime() 공개 정적인 메소드

public static DecodeGeneralizedTime ( IBerInput input, int length ) : System.DateTime
input IBerInput
length int
리턴 System.DateTime

DecodeInteger() 공개 정적인 메소드

public static DecodeInteger ( IBerInput input, int length ) : int
input IBerInput
length int
리턴 int

DecodeLength() 공개 정적인 메소드

public static DecodeLength ( IBerInput input ) : int
input IBerInput
리턴 int

DecodeLong() 공개 정적인 메소드

public static DecodeLong ( IBerInput input, int length ) : long
input IBerInput
length int
리턴 long

DecodeMultiByteInteger() 공개 정적인 메소드

public static DecodeMultiByteInteger ( IBerInput input ) : uint
input IBerInput
리턴 uint

DecodeMultiByteInteger() 공개 정적인 메소드

public static DecodeMultiByteInteger ( IBerInput input, int &consumedByteCount ) : uint
input IBerInput
consumedByteCount int
리턴 uint

DecodeMultiByteLong() 공개 정적인 메소드

public static DecodeMultiByteLong ( IBerInput input ) : ulong
input IBerInput
리턴 ulong

DecodeObjectIdentifier() 공개 정적인 메소드

public static DecodeObjectIdentifier ( IBerInput input, int length ) : int[]
input IBerInput
length int
리턴 int[]

DecodeReal() 공개 정적인 메소드

public static DecodeReal ( IBerInput input, int length ) : double
input IBerInput
length int
리턴 double

DecodeRelativeOid() 공개 정적인 메소드

public static DecodeRelativeOid ( IBerInput input, int length ) : int[]
input IBerInput
length int
리턴 int[]

DecodeTag() 공개 정적인 메소드

public static DecodeTag ( IBerInput input ) : BerTag
input IBerInput
리턴 BerTag

DecodeUtf8String() 공개 정적인 메소드

public static DecodeUtf8String ( IBerInput input, int length ) : string
input IBerInput
length int
리턴 string

EncodeAsciiString() 공개 정적인 메소드

public static EncodeAsciiString ( IBerOutput output, string value ) : int
output IBerOutput
value string
리턴 int

EncodeBoolean() 공개 정적인 메소드

public static EncodeBoolean ( IBerOutput output, bool value ) : int
output IBerOutput
value bool
리턴 int

EncodeByteArray() 공개 정적인 메소드

public static EncodeByteArray ( IBerOutput output, byte value ) : int
output IBerOutput
value byte
리턴 int

EncodeGeneralizedTime() 공개 정적인 메소드

public static EncodeGeneralizedTime ( IBerOutput output, System.DateTime value ) : int
output IBerOutput
value System.DateTime
리턴 int

EncodeInteger() 공개 정적인 메소드

public static EncodeInteger ( IBerOutput output, int value, int length ) : int
output IBerOutput
value int
length int
리턴 int

EncodeLength() 공개 정적인 메소드

public static EncodeLength ( IBerOutput output, int value ) : int
output IBerOutput
value int
리턴 int

EncodeLong() 공개 정적인 메소드

public static EncodeLong ( IBerOutput output, long value, int length ) : int
output IBerOutput
value long
length int
리턴 int

EncodeMultiByteInteger() 공개 정적인 메소드

public static EncodeMultiByteInteger ( IBerOutput output, uint value ) : int
output IBerOutput
value uint
리턴 int

EncodeMultiByteLong() 공개 정적인 메소드

public static EncodeMultiByteLong ( IBerOutput output, ulong value ) : int
output IBerOutput
value ulong
리턴 int

EncodeObjectIdentifier() 공개 정적인 메소드

public static EncodeObjectIdentifier ( IBerOutput output, int values ) : int
output IBerOutput
values int
리턴 int

EncodeReal() 공개 정적인 메소드

public static EncodeReal ( IBerOutput output, double value ) : int
output IBerOutput
value double
리턴 int

EncodeRelativeOid() 공개 정적인 메소드

public static EncodeRelativeOid ( IBerOutput output, int value ) : int
output IBerOutput
value int
리턴 int

EncodeTag() 공개 정적인 메소드

public static EncodeTag ( IBerOutput output, BerTag tag ) : int
output IBerOutput
tag BerTag
리턴 int

EncodeUtf8String() 공개 정적인 메소드

public static EncodeUtf8String ( IBerOutput output, string value ) : int
output IBerOutput
value string
리턴 int

GetAsciiStringLength() 공개 정적인 메소드

public static GetAsciiStringLength ( string str ) : int
str string
리턴 int

GetHeaderLength() 공개 정적인 메소드

public static GetHeaderLength ( BerTag tag, int length ) : int
tag BerTag
length int
리턴 int

GetIntegerLength() 공개 정적인 메소드

public static GetIntegerLength ( int value ) : int
value int
리턴 int

GetLongLength() 공개 정적인 메소드

public static GetLongLength ( long value ) : int
value long
리턴 int

GetMultiByteIntegerLength() 공개 정적인 메소드

public static GetMultiByteIntegerLength ( uint value ) : int
value uint
리턴 int

GetMultiByteLongLength() 공개 정적인 메소드

public static GetMultiByteLongLength ( ulong value ) : int
value ulong
리턴 int

GetObjectIdentifierLength() 공개 정적인 메소드

public static GetObjectIdentifierLength ( int value ) : int
value int
리턴 int

GetRelativeOidLength() 공개 정적인 메소드

public static GetRelativeOidLength ( int value ) : int
value int
리턴 int

GetTagLength() 공개 정적인 메소드

public static GetTagLength ( BerTag tag ) : int
tag BerTag
리턴 int

GetUtf8StringLength() 공개 정적인 메소드

public static GetUtf8StringLength ( string str ) : int
str string
리턴 int

프로퍼티 상세

IndefiniteLengthTerminator 공개적으로 정적으로 프로퍼티

public static byte[] IndefiniteLengthTerminator
리턴 byte[]