Buffer size predictor
- Galder Zamarreño
Provide the next buffer size taking in account
the object to store in the buffer.
obj instance that will be stored in the buffer
- int representing the next predicted buffer size
Record the size of the of data in the last buffer used.
previousSize int representing the size of the last