Thread
:
[INC] ByteBuffer
View Single Post
KyleS
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
07-05-2015 , 02:11 Re: [INC] ByteBuffer
#
2
Quote:
Originally Posted by
Dr. McKay
[On load, a plugin implementing bytebuffer.inc will allocate MAX_BUFFERS * MAX_BUFFER_LENGTH bytes of memory (default for MAX_BUFFERS is 32, MAX_BUFFER_LENGTH is 1024 for a total of 32 KiB of memory). You can define MAX_BUFFERS and MAX_BUFFER_LENGTH to your own values prior to including bytebuffer.inc if you wish.
MAX_BUFFERS controls how many buffers can be open at one time. MAX_BUFFER_LENGTH controls how much data can be written to any particular buffer.
Wouldn't using something like a DataPack be far more appropriate here?
KyleS
View Public Profile
Find More Posts by KyleS