BytesIO::toString PHP Method

toString() public method

public toString ( )
    public function toString()
    {
        return $this->buffer;
    }

Usage Example

Ejemplo n.º 1
0
 public static function serialize($var, $simple = false)
 {
     $stream = new BytesIO();
     $writer = new Writer($stream, $simple);
     $writer->serialize($var);
     return $stream->toString();
 }
All Usage Examples Of BytesIO::toString