本文整理了Java中com.google.flatbuffers.FlatBufferBuilder.putBoolean()
方法的一些代码示例,展示了FlatBufferBuilder.putBoolean()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。FlatBufferBuilder.putBoolean()
方法的具体详情如下:
包路径:com.google.flatbuffers.FlatBufferBuilder
类名称:FlatBufferBuilder
方法名:putBoolean
[英]Add a boolean
to the buffer, backwards from the current location. Doesn't align nor check for space.
[中]从当前位置向后向缓冲区添加“boolean”。不对齐也不检查空间。
代码示例来源:origin: com.github.davidmoten/flatbuffers-java
/**
* Add a `boolean` to the buffer, properly aligned, and grows the buffer (if necessary).
*
* @param x A `boolean` to put into the buffer.
*/
public void addBoolean(boolean x) { prep(Constants.SIZEOF_BYTE, 0); putBoolean(x); }
代码示例来源:origin: com.google.flatbuffers/flatbuffers-java
/**
* Add a `boolean` to the buffer, properly aligned, and grows the buffer (if necessary).
*
* @param x A `boolean` to put into the buffer.
*/
public void addBoolean(boolean x) { prep(Constants.SIZEOF_BYTE, 0); putBoolean(x); }
代码示例来源:origin: davidmoten/flatbuffers
/**
* Add a `boolean` to the buffer, properly aligned, and grows the buffer (if necessary).
*
* @param x A `boolean` to put into the buffer.
*/
public void addBoolean(boolean x) { prep(Constants.SIZEOF_BYTE, 0); putBoolean(x); }
代码示例来源:origin: com.vlkan/flatbuffers
public void addBoolean(boolean x) { prep(1, 0); putBoolean(x); }
public void addByte (byte x) { prep(1, 0); putByte (x); }
代码示例来源:origin: flipkart-incubator/kafka-filtering
public void addBoolean(boolean x) { prep(1, 0); putBoolean(x); }
public void addByte (byte x) { prep(1, 0); putByte (x); }
内容来源于网络,如有侵权,请联系作者删除!