PHP 인터페이스 Protobuf\Serializer

저자: Fabio B. Silva ([email protected])
파일 보기 프로젝트 열기: protobuf-php/protobuf

공개 메소드들

메소드 설명
serialize ( Message $message ) : Stream Serializes the given message.
unserialize ( string $class, Stream | resource | string $stream ) : Message Deserializes the given data to the specified message.

메소드 상세

serialize() 공개 메소드

Serializes the given message.
public serialize ( Message $message ) : Stream
$message Message
리턴 Stream

unserialize() 공개 메소드

Deserializes the given data to the specified message.
public unserialize ( string $class, Stream | resource | string $stream ) : Message
$class string
$stream Stream | resource | string
리턴 Message