List of usage examples for io.netty.buffer ByteBuf getBoolean
public abstract boolean getBoolean(int index);
From source file:common.xandayn.personalizedrecipes_old.common.network.packet.client.ClientRemoveRecipeFromServer.java
License:Open Source License
@Override public void toBytes(ByteBuf buf) { position = buf.getInt(0); removeAll = buf.getBoolean(1); }
From source file:io.reactiverse.pgclient.impl.codec.DataTypeCodec.java
License:Apache License
private static Boolean binaryDecodeBOOL(int index, int len, ByteBuf buff) { return buff.getBoolean(index); }