forked from premiere/premiere-libtorrent
compact chained_buffer::buffer_t
This commit is contained in:
parent
1dd5e5128b
commit
cf399a8b02
|
@ -63,9 +63,8 @@ namespace libtorrent
|
||||||
{
|
{
|
||||||
boost::function<void(char*)> free; // destructs the buffer
|
boost::function<void(char*)> free; // destructs the buffer
|
||||||
char* buf; // the first byte of the buffer
|
char* buf; // the first byte of the buffer
|
||||||
int size; // the total size of the buffer
|
|
||||||
|
|
||||||
char* start; // the first byte to send/receive in the buffer
|
char* start; // the first byte to send/receive in the buffer
|
||||||
|
int size; // the total size of the buffer
|
||||||
int used_size; // this is the number of bytes to send/receive
|
int used_size; // this is the number of bytes to send/receive
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue