MongoDB\BSON\Binary::getData

(mongodb >=1.0.0)

MongoDB\BSON\Binary::getDataReturns the Binary's data

설명

final public string MongoDB\BSON\Binary::getData ( void )

인수

이 함수는 인수가 없습니다.

반환값

Returns the Binary's data

오류/예외

예제

Example #1 MongoDB\BSON\Binary::getData() example

<?php

$binary 
= new MongoDB\BSON\Binary('foo'MongoDB\BSON\Binary::TYPE_GENERIC);
var_dump($binary->getData());

?>

위 예제의 출력:

string(3) "foo"
add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top