@Override public final ByteBuf component(int cIndex) { return wrapped.component(cIndex); }
@Override public final ByteBuf component(int cIndex) { return wrapped.component(cIndex); }
@Override public final ByteBuf component(int cIndex) { return wrapped.component(cIndex); }
final ByteBuf component = cbb.component(currentIndex);
if (byteBuf instanceof CompositeByteBuf) { CompositeByteBuf compositeByteBuf = (CompositeByteBuf) byteBuf; return createDelegate(compositeByteBuf.component(index), (buf, count) -> { ((CompositeByteBuf) buf).removeComponent(index); removeComponent(index);
@Override public final ByteBuf component(int cIndex) { return wrapped.component(cIndex); }
@Override public final ByteBuf component(int cIndex) { return wrapped.component(cIndex); }
@Override public final ByteBuf component(int cIndex) { return wrapped.component(cIndex); }
@Override public final ByteBuf component(int cIndex) { return wrapped.component(cIndex); }
@Override protected Object decodeValue(Context context, Type type, Short typeLength, Integer typeModifier, ByteBuf buffer, Class<?> targetClass, Object targetContext) throws IOException { NestedArrayType atype = (NestedArrayType) type; CompositeByteBuf compBuf = (CompositeByteBuf)buffer; ByteBuf[] elementBufs = new ByteBuf[compBuf.numComponents()]; for (int c = 0; c < elementBufs.length; ++c) { elementBufs[c] = compBuf.component(c).retain(); } return new PGBuffersArray(context, atype, atype.getElementFormat(), elementBufs, atype.getDimensions()); }