C# Класс BonCodeAJP13.ServerPackets.BonCodeFilePathPacket

Наследование: BonCodeAJP13Packet
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
BonCodeFilePathPacket ( ) : System

Generic Constructor can be used to create empty package

BonCodeFilePathPacket ( string sPath ) : System

constructor with path provided. we will use default application physical path if empty string is passed as path.

GetUserDataString ( ) : string

Return string of user data enclosed in packet. This is different based on each packet type The Adobe specific packet is lacking a string terminator thus we only subtract three bytes

Защищенные методы

Метод Описание
SetSimpleString ( byte data, string value, int pos ) : int

Set the String value in the array starting from the pos index The length prefix will be omitted. This is Adobe specific and we need to convert string type to ISO-8559-1

Описание методов

BonCodeFilePathPacket() публичный Метод

Generic Constructor can be used to create empty package
public BonCodeFilePathPacket ( ) : System
Результат System

BonCodeFilePathPacket() публичный Метод

constructor with path provided. we will use default application physical path if empty string is passed as path.
public BonCodeFilePathPacket ( string sPath ) : System
sPath string
Результат System

GetUserDataString() публичный Метод

Return string of user data enclosed in packet. This is different based on each packet type The Adobe specific packet is lacking a string terminator thus we only subtract three bytes
public GetUserDataString ( ) : string
Результат string

SetSimpleString() защищенный Метод

Set the String value in the array starting from the pos index The length prefix will be omitted. This is Adobe specific and we need to convert string type to ISO-8559-1
protected SetSimpleString ( byte data, string value, int pos ) : int
data byte
value string
pos int
Результат int