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

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

Description

write Int

License

Apache License

Declaration

public static final void writeInt(OutputStream out, int v)
            throws IOException 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import java.io.IOException;

import java.io.OutputStream;

public class Main {
    public static final void writeInt(OutputStream out, int v)
            throws IOException {
        out.write((v >>> 24) & 0xFF);
        out.write((v >>> 16) & 0xFF);
        out.write((v >>> 8) & 0xFF);
        out.write((v >>> 0) & 0xFF);
    }// w w w  . j av  a  2  s .com
}

Related

  1. writeInt(OutputStream out, int i)
  2. writeInt(OutputStream out, int i)
  3. writeInt(OutputStream out, int i)
  4. writeInt(OutputStream out, int i)
  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 value)