C# Class Thrift.Protocol.TJSONProtocol

Inheritance: TProtocol
Afficher le fichier Open project: abhinavkulkarni/topic-modeling Class Usage Examples

Méthodes publiques

Méthode Description
ReadByte ( ) : byte
WriteBinary ( byte bin ) : void
WriteByte ( byte b ) : void

Méthodes protégées

Méthode Description
ReadJSONSyntaxChar ( byte b ) : void

Read a byte that must match b[0]; otherwise an exception is thrown. Marked protected to avoid synthetic accessor in JSONListContext.Read and JSONPairContext.Read

Private Methods

Méthode Description
GetTypeIDForTypeName ( byte name ) : TType
WriteJSONBase64 ( byte b ) : void

Write out contents of byte array b as a JSON string with base-64 encoded data

WriteJSONString ( byte b ) : void

Write the bytes in array buf as a JSON characters, escaping as needed

Method Details

ReadByte() public méthode

public ReadByte ( ) : byte
Résultat byte

ReadJSONSyntaxChar() protected méthode

Read a byte that must match b[0]; otherwise an exception is thrown. Marked protected to avoid synthetic accessor in JSONListContext.Read and JSONPairContext.Read
protected ReadJSONSyntaxChar ( byte b ) : void
b byte
Résultat void

WriteBinary() public méthode

public WriteBinary ( byte bin ) : void
bin byte
Résultat void

WriteByte() public méthode

public WriteByte ( byte b ) : void
b byte
Résultat void