code: boolean hasReadableBytes(int count) {
          if (count < 0 || count > MAX_COUNT_OF_READABLE_BYTES) {
              throw new IllegalArgumentException("count: " + count
                      + " (expected: 0-" + MAX_COUNT_OF_READABLE_BYTES + ')');
          }
          return hasReadableBits(count << 3);
      }
docs: Checks that the specified number of bytes available for reading.
  @param count The number of bytes to check
  @return {@code true} if {@code count} bytes are available for reading, otherwise {@code false}