ZeroCopyInputStream-class(RProtoBuf)
ZeroCopyInputStream-class()所属R语言包:RProtoBuf
Virtual Class "ZeroCopyInputStream"
虚拟类“ZeroCopyInputStream”
译者:生物统计家园网 机器人LoveR
描述----------Description----------
R wrapper for the ZeroCopyInputStream c++ class
ŕ包装的ZeroCopyInputStream C + +类
类对象----------Objects from the Class----------
This is a virtual class
这是一个虚拟的类
插槽----------Slots----------
pointer: external pointer to the google::protobuf::io::ZeroCopyInputStream object
pointer:外部指针google::protobuf::io::ZeroCopyInputStream对象的
方法----------Methods----------
$ signature(x="ZeroCopyInputStream"): invokes a method
$signature(x="ZeroCopyInputStream"):调用一个方法
Next signature(object="ZeroCopyInputStream"): Get a number of bytes from the stream as a raw vector.
下一步signature(object="ZeroCopyInputStream"):从一个原始的矢量流中的字节数。
Skip signature(object="ZeroCopyInputStream"): skip a number of bytes
跳过signature(object="ZeroCopyInputStream"):跳过的字节数
BackUp signature(object="ZeroCopyInputStream"): Backs up a number of bytes, so that the next call to Next returns data again that was already returned by the last call to Next.
备份signature(object="ZeroCopyInputStream"):备份字节数,这样在下次调用Next再次返回的数据已经返回最后一次调用Next。
ByteCount signature(object="ZeroCopyInputStream"): Returns the total number of bytes read since this object was created.
BYTECOUNT signature(object="ZeroCopyInputStream"):返回读取的字节总数自创建此对象。
ReadRaw signature(object="ZeroCopyInputStream", size = "integer"): read raw bytes from the stream
ReadRaw signature(object="ZeroCopyInputStream", size = "integer"):从流中读取原始字节
ReadString signature(object="ZeroCopyInputStream", size = "integer"): same as ReadRaw but formats the result as a string
ReadString signature(object="ZeroCopyInputStream", size = "integer"):ReadRaw但格式相同的结果为一个字符串
ReadVarint32 signature(object="ZeroCopyInputStream"): Read an unsigned integer with Varint encoding, truncating to 32 bits.
ReadVarint32signature(object="ZeroCopyInputStream"):Varint编码读取一个无符号整数,截断为32位。
ReadLittleEndian32 signature(object="ZeroCopyInputStream"): Read a 32-bit little-endian integer.
ReadLittleEndian32signature(object="ZeroCopyInputStream"):读一个32位little-endian的整数。
ReadLittleEndian64 signature(object="ZeroCopyInputStream"): Read a 64-bit little-endian integer. In R the value is stored as a double which looses some precision (no other way)
ReadLittleEndian64signature(object="ZeroCopyInputStream"):读一个64位little-endian的整数。 R的值存储为一个double丧失了部分精度(没有其他的方式)
ReadVarint64 signature(object="ZeroCopyInputStream"): Read a 64-bit integer with varint encoding. In R the value is stored as a double which looses some precision (no other way)
ReadVarint64signature(object="ZeroCopyInputStream"):一个64位的整数,varint编码。 R的值存储为一个double丧失了部分精度(没有其他的方式)
(作者)----------Author(s)----------
Romain Francois <francoisromain@free.fr>
参考文献----------References----------
http://code.google.com/apis/protocolbuffers/docs/reference/cpp/google.protobuf.io.zero_copy_stream.html#ZeroCopyInputStream
参见----------See Also----------
TODO: add classes that extend
TODO:添加类扩展
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|