Java OutputStream Write Int writeInt(OutputStream out, int value)

Here you can find the source of writeInt(OutputStream out, int value)

Description

write Int

License

Open Source License

Declaration

private static void writeInt(OutputStream out, int value) throws IOException 

Method Source Code


//package com.java2s;
//License from project: Open Source License 

import java.io.*;

public class Main {
    private static void writeInt(OutputStream out, int value) throws IOException {
        out.write((value >>> 24) & 0xFF);
        out.write((value >>> 16) & 0xFF);
        out.write((value >>> 8) & 0xFF);
        out.write((value) & 0xFF);/*w  ww  . j  a  v a  2  s .c  om*/
    }
}

Related

  1. writeInt(OutputStream out, int i)
  2. writeInt(OutputStream out, int i)
  3. writeInt(OutputStream out, int i)
  4. writeInt(OutputStream out, int v)
  5. writeInt(OutputStream out, int v)
  6. writeInt(OutputStream out, int value)
  7. writeInt(OutputStream out, int value)
  8. writeInt(OutputStream out, int value)
  9. writeInt(OutputStream out, int x)