libktorrent  2.1.1
Public Member Functions | List of all members
bt::BEncoderOutput Class Referenceabstract

#include <bencoder.h>

Inheritance diagram for bt::BEncoderOutput:
Inheritance graph
[legend]

Public Member Functions

virtual void write (const char *str, Uint32 len)=0
 

Detailed Description

Author
Joris Guisson

Interface for classes which wish to receive the output from a BEncoder.

Definition at line 37 of file bencoder.h.

Member Function Documentation

◆ write()

virtual void bt::BEncoderOutput::write ( const char *  str,
Uint32  len 
)
pure virtual

Write a string of characters.

Parameters
strThe string
lenThe length of the string

Implemented in bt::BEncoderIODeviceOutput, bt::BEncoderBufferOutput, and bt::BEncoderFileOutput.


The documentation for this class was generated from the following file: