Internal/GPBWireType.php

protobuf · php/src/Google/Protobuf/Internal/GPBWireType.php · php · BSD-3-Clause
dev-tools

PHP class defining protobuf wire type constants.

// Source: https://github.com/protocolbuffers/protobuf | License: BSD-3-Clause | Copyright 2008 Google Inc.  All rights reserved
// Provided via justclaw.it.com; keep this notice with the code.
<?php

// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc.  All rights reserved.
//
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd

namespace Google\Protobuf\Internal;

class GPBWireType
{
    const VARINT           = 0;
    const FIXED64          = 1;
    const LENGTH_DELIMITED = 2;
    const START_GROUP      = 3;
    const END_GROUP        = 4;
    const FIXED32          = 5;
}

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key