1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- <?php
- namespace Thrift\Protocol;
- use Thrift\Transport\TBufferedTransport;
- class TBinaryProtocolAccelerated extends TBinaryProtocol
- {
- public function __construct($trans, $strictRead=false, $strictWrite=true)
- {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- if (!method_exists($trans, 'putBack')) {
- $trans = new TBufferedTransport($trans);
- }
- parent::__construct($trans, $strictRead, $strictWrite);
- }
- public function isStrictRead()
- {
- return $this->strictRead_;
- }
- public function isStrictWrite()
- {
- return $this->strictWrite_;
- }
- }
|