Module jls.io.streams.BlockStreamHandler
Provide a block stream handler.
Class BlockStreamHandler
BlockStreamHandler:new ([handler[, size[, multiple]]]) | Creates a block StreamHandler. |
Class BlockStreamHandler
A BlockStreamHandler class.
This class allows to pass fixed size blocks to the wrapped handler.
- BlockStreamHandler:new ([handler[, size[, multiple]]])
-
Creates a block StreamHandler.
Parameters:
- handler StreamHandler the handler to wrap (optional)
- size number the block size, default to 512 (optional)
- multiple boolean true to indicate that the resulting size must be a multiple (optional)