RProtoBuf0.4.22 package

R Interface to the 'Protocol Buffers' 'API' (Version 2 or 3)

add

add elements of a repeated field of a message

ArrayInputStream-class

Class "ArrayInputStream"

ArrayInputStream-methods

Creates an ArrayInputStream

ArrayOutputStream-class

Class "ArrayOutputStream"

ArrayOutputStream-methods

Creates an ArrayOutputStream

aslist

Grab the protocol buffer message as an R list

asMessage

coerce an object to a protobuf message

BackUp-methods

Backs up a number of bytes from a stream

ByteCount-methods

The number of bytes read/written since the object was created

bytesize

The number of bytes taken by a message

clear

Clear a field or all fields of the message and set them to their defau...

clone

Clone protocol buffer messages

completion

Completion support for protocol buffer messages and descriptors

ConnectionInputStream-class

Class "ConnectionInputStream"

ConnectionInputStream-methods

Creates an ConnectionInputStream

ConnectionOutputStream-class

Class "ConnectionOutputStream"

ConnectionOutputStream-methods

Creates an ConnectionOutputStream

containing_type-methods

Gets the message type descriptor that contains a descriptor

Descriptor-class

Class "Descriptor"

descriptor

Get the descriptor of a message

enum_type

Extract an enum type descriptor for a nested type

enum_type_count

The number of enum types

EnumDescriptor-class

Class "EnumDescriptor"

EnumValueDescriptor-class

Class "EnumValueDescriptor"

fetch

Fetch content of a repeated field

field

Extract a field descriptor

field_count

The number of fields

FieldDescriptor-class

Class "FieldDescriptor"

FileDescriptor-class

Class "FileDescriptor"

fileDescriptor

gets the file descriptor of an object

FileInputStream-class

Class "FileInputStream"

FileInputStream-methods

Creates an FileInputStream

FileOutputStream-class

Class "FileOutputStream"

FileOutputStream-methods

Creates an FileOutputStream

GetErrno-methods

Get the error number for an I/O error

has

Indicates if an object has the given field set

is_extension

Indicates if a field descriptor is an extension

isInitialized

Indicates if a protocol buffer message is initialized

label

Gets the label of a field

merge

Merge two messages of the same type

Message-class

Class "Message"

MethodDescriptor-class

Class "MethodDescriptor"

name

Name or full name of a descriptor

nested_type

Extract a message type descriptor for a nested type

nested_type_count

The number of fields

Next-methods

Obtains a chunk of data from the stream

number

Gets the declared tag number of a field

P

Protocol Buffer descriptor importer

read

Read a protocol buffer message from a connection

readASCII

read a message in ASCII format

readJSON

read a message in JSON format

readProtoFiles

protocol buffer descriptor importer

RProtoBuf-package

R Interface to the Protocol Buffers API

serialize_pb

Serialize R object to Protocol Buffer Message.

ServiceDescriptor-class

Class "ServiceDescriptor"

set

set a subset of values of a repeated field of a message

SetCloseOnDelete-methods

set the close on delete behavior

size

Size of a message field

sizegets

Set the size of a field

Skip-methods

Skips a number of bytes

swap

swap elements of a repeated field of a message

type

Gets the type or the C++ type of a field

with

with and within methods for protocol buffer messages

ZeroCopyInputStream-class

Virtual Class "ZeroCopyInputStream"

ZeroCopyOutputStream-class

Virtual Class "ZeroCopyOutputStream"

Protocol Buffers are a way of encoding structured data in an efficient yet extensible format. Google uses Protocol Buffers for almost all of its internal 'RPC' protocols and file formats. Additional documentation is available in two included vignettes one of which corresponds to our 'JSS' paper (2016, <doi:10.18637/jss.v071.i02>. A sufficiently recent version of 'Protocol Buffers' library is required; currently version 3.3.0 from 2017 is the stated minimum.

  • Maintainer: Dirk Eddelbuettel
  • License: GPL (>= 2)
  • Last published: 2024-01-21