ByteLengthQueuingStrategy.size()
The size() method of the
ByteLengthQueuingStrategy interface returns the given chunk's
byteLength property.
Syntax
Parameters
chunk- : A chunk of data being passed through the stream.
Return value
An integer representing the byte length of the given chunk.