• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?php
2
3// Protocol Buffers - Google's data interchange format
4// Copyright 2008 Google Inc.  All rights reserved.
5//
6// Use of this source code is governed by a BSD-style
7// license that can be found in the LICENSE file or at
8// https://developers.google.com/open-source/licenses/bsd
9
10namespace Google\Protobuf\Internal;
11
12class RawInputStream
13{
14
15    private $buffer;
16
17    public function __construct($buffer)
18    {
19        $this->buffer = $buffer;
20    }
21
22    public function getData()
23    {
24        return $this->buffer;
25    }
26
27}
28