libktorrent  2.1.1
Public Member Functions | List of all members
bt::BEncoderBufferOutput Class Reference

#include <bencoder.h>

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

Public Member Functions

 BEncoderBufferOutput (QByteArray &data)
 
void write (const char *str, Uint32 len) override
 

Detailed Description

Write the output of a BEncoder to a QByteArray

Definition at line 64 of file bencoder.h.

Member Function Documentation

◆ write()

void bt::BEncoderBufferOutput::write ( const char *  str,
Uint32  len 
)
overridevirtual

Write a string of characters.

Parameters
strThe string
lenThe length of the string

Implements bt::BEncoderOutput.


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