Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getChar (0.18 sec)

  1. android/guava/src/com/google/common/primitives/Chars.java

      }
    
      /**
       * Returns the {@code char} value whose big-endian representation is stored in the first 2 bytes
       * of {@code bytes}; equivalent to {@code ByteBuffer.wrap(bytes).getChar()}. For example, the
       * input byte array {@code {0x54, 0x32}} would yield the {@code char} value {@code '\\u5432'}.
       *
       * <p>Arguably, it's preferable to use {@link java.nio.ByteBuffer}; that library exposes much more
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/Chars.java

      }
    
      /**
       * Returns the {@code char} value whose big-endian representation is stored in the first 2 bytes
       * of {@code bytes}; equivalent to {@code ByteBuffer.wrap(bytes).getChar()}. For example, the
       * input byte array {@code {0x54, 0x32}} would yield the {@code char} value {@code '\\u5432'}.
       *
       * <p>Arguably, it's preferable to use {@link java.nio.ByteBuffer}; that library exposes much more
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Strings.java

        int size = (int) longSize;
        if (size != longSize) {
          throw new ArrayIndexOutOfBoundsException("Required array size too large: " + longSize);
        }
    
        char[] array = new char[size];
        string.getChars(0, len, array, 0);
        int n;
        for (n = len; n < size - n; n <<= 1) {
          System.arraycopy(array, 0, array, n, n);
        }
        System.arraycopy(array, 0, array, n, size - n);
        return new String(array);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
Back to top