Reputation: 4396
When using a stream wrapper for PHP, the chunk size can be set on the client side with stream_set_chunk_size
However, is there anyway to specify the chunk size from a custom stream wrapper implementation itself?
For example, an implementation of stream_write
receives the set of bytes, but the byte length is default 8192 bytes. I'm wondering if it's possible to change that default byte length.
Upvotes: 1
Views: 819