/** * Copies bytes into a buffer at the given offset. * * @param target buffer to copy into * @param offset in the target buffer * @throws IndexOutOfBoundsException if the offset is negative or too large */ public void copyTo(byte[] target, int offset) { copyTo(target, 0, offset, size()); }
@Override public int write(ByteBuffer bb) { ByteString b = reviveInDungeonResponseProto.toByteString(); b.copyTo(bb); return b.size(); }
@Override public int write(ByteBuffer bb) { ByteString b = buildConsumableResponseProto.toByteString(); b.copyTo(bb); return b.size(); }
@Override public int write(ByteBuffer bb) { ByteString b = retractRequestJoinClanResponseProto.toByteString(); b.copyTo(bb); return b.size(); }
@Override public int write(ByteBuffer bb) { ByteString b = recordClanRaidStatsResponseProto.toByteString(); b.copyTo(bb); return b.size(); }
@Override public int write(ByteBuffer bb) { ByteString b = forceLogoutResponseProto.toByteString(); b.copyTo(bb); return b.size(); }