Options
Read onlyYes
FinalYes
Properties
- $bufferSize : int
- $codec : Codec
Methods
- __construct() : mixed
- default() : self
- withBufferSize() : self
- withCodec() : self
Properties
$bufferSize
public
int
$bufferSize
= 65536
$codec
public
Codec
$codec
= new NoopCodec()
Methods
__construct()
public
__construct([int $bufferSize = 65536 ][, Codec $codec = new NoopCodec() ]) : mixed
Parameters
default()
public
static default() : self
Return values
selfwithBufferSize()
public
withBufferSize(int $bufferSize) : self
Parameters
- $bufferSize : int
Return values
selfwithCodec()
public
withCodec(Codec $codec) : self
Parameters
- $codec : Codec