Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 9 of 9 for DataInput (1.54 seconds)

  1. android/guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.java

      }
    
      public void testReadFully() throws IOException {
        DataInput in = new LittleEndianDataInputStream(new ByteArrayInputStream(data));
        byte[] b = new byte[data.length];
        in.readFully(b);
        assertEquals(Bytes.asList(data), Bytes.asList(b));
      }
    
      public void testReadUnsignedByte_eof() throws IOException {
        DataInput in = new LittleEndianDataInputStream(new ByteArrayInputStream(new byte[0]));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.java

    import static java.nio.charset.StandardCharsets.ISO_8859_1;
    
    import com.google.common.primitives.Bytes;
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.DataInput;
    import java.io.DataInputStream;
    import java.io.IOException;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Test class for {@link LittleEndianDataOutputStream}.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.java

    import static java.nio.charset.StandardCharsets.ISO_8859_1;
    
    import com.google.common.primitives.Bytes;
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.DataInput;
    import java.io.DataInputStream;
    import java.io.IOException;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Test class for {@link LittleEndianDataOutputStream}.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/io/ByteArrayDataInput.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.io.DataInput;
    import java.io.IOException;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An extension of {@code DataInput} for reading from in-memory byte arrays; its methods offer
     * identical functionality but do not throw {@link IOException}.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 27 20:25:25 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  5. src/main/java/jcifs/SmbRandomAccess.java

     */
    package jcifs;
    
    import java.io.DataInput;
    import java.io.DataOutput;
    
    import jcifs.smb.SmbException;
    
    /**
     * File access that exposes random access semantics
     *
     * @author mbechler
     *
     */
    public interface SmbRandomAccess extends DataOutput, DataInput, AutoCloseable {
    
        /**
         * Close the file
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/io/LittleEndianDataInputStream.java

    import com.google.errorprone.annotations.DoNotCall;
    import java.io.DataInput;
    import java.io.DataInputStream;
    import java.io.EOFException;
    import java.io.FilterInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    
    /**
     * An implementation of {@link DataInput} that uses little-endian byte ordering for reading {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 12 03:49:18 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

     */
    
    package jcifs.smb1.smb1;
    
    import java.io.DataInput;
    import java.io.DataOutput;
    import java.io.IOException;
    import java.net.MalformedURLException;
    import java.net.UnknownHostException;
    
    import jcifs.smb1.util.Encdec;
    
    /**
     * This class provides random access to files stored on an SMB/CIFS network resource.
     * It implements the DataInput and DataOutput interfaces for reading and writing primitive
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/io/ByteStreams.java

    import com.google.common.math.IntMath;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.DataInput;
    import java.io.DataInputStream;
    import java.io.DataOutput;
    import java.io.DataOutputStream;
    import java.io.EOFException;
    import java.io.FilterInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 31.1K bytes
    - Click Count (0)
  9. docs_src/json_base64_bytes/tutorial001_py310.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    
    class DataInput(BaseModel):
        description: str
        data: bytes
    
        model_config = {"val_json_bytes": "base64"}
    
    
    class DataOutput(BaseModel):
        description: str
        data: bytes
    
        model_config = {"ser_json_bytes": "base64"}
    
    
    class DataInputOutput(BaseModel):
        description: str
        data: bytes
    
        model_config = {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 21 13:01:31 GMT 2026
    - 892 bytes
    - Click Count (0)
Back to Top