Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for writeFloat (0.06 sec)

  1. guava/src/com/google/common/io/LittleEndianDataOutputStream.java

        writeLong(Double.doubleToLongBits(v));
      }
    
      /**
       * Writes a {@code float} as specified by {@link DataOutputStream#writeFloat(float)}, except using
       * little-endian byte order.
       *
       * @throws IOException if an I/O error occurs
       */
      @Override
      public void writeFloat(float v) throws IOException {
        writeInt(Float.floatToIntBits(v));
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 26 12:34:49 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/ByteStreams.java

          try {
            output.writeDouble(v);
          } catch (IOException impossible) {
            throw new AssertionError(impossible);
          }
        }
    
        @Override
        public void writeFloat(float v) {
          try {
            output.writeFloat(v);
          } catch (IOException impossible) {
            throw new AssertionError(impossible);
          }
        }
    
        @Override
        public void writeInt(int v) {
          try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 29.7K bytes
    - Viewed (0)
Back to top