C# Class NLog.Targets.Syslog.Extensions.ByteManipulationExtensions

显示文件 Open project: graffen/NLog.Targets.Syslog

Public Methods

Method Description
IsIndexOfCharTerminatingByte ( this i, ByteArray bytes ) : bool

Private Methods

Method Description
IsContinuationByte ( this b ) : bool
IsLastIndex ( this i, ByteArray bytes ) : bool
IsNonContinuationByte ( this b ) : bool
IsSingleByte ( this b ) : bool
OnlyTopTwoBitsPreserved ( byte b ) : int

Method Details

IsIndexOfCharTerminatingByte() public static method

public static IsIndexOfCharTerminatingByte ( this i, ByteArray bytes ) : bool
i this
bytes ByteArray
return bool