code: public void setChannelReceiveBufferSize(int size) {
          this.channelReceiveBufferSize = size;
          if (size < 0 || size > UDPConfigConstants.MAX_UDP_PACKET_SIZE) {
              if (tc.isDebugEnabled()) {
                  Tr.debug(tc, "Channel Receive buffer size not within Limits: " + size + " setting to default: " + UDPConfigConstants.MAX_UDP_PACKET_SIZE);
              }
              this.channelReceiveBufferSize = UDPConfigConstants.MAX_UDP_PACKET_SIZE;
          }
      }
docs: Set the size of the bytebuffer to allocate when receiving data.
  
  @param size