Java OutputStream Write Int writeInt(OutputStream os, int val)

Here you can find the source of writeInt(OutputStream os, int val)

Description

write Int

License

Open Source License

Declaration

public static void writeInt(OutputStream os, int val) throws IOException 

Method Source Code


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

import java.io.IOException;

import java.io.OutputStream;

public class Main {
    public static void writeInt(OutputStream os, int val) throws IOException {
        os.write(val >>> 24);
        os.write(val >>> 16);
        os.write(val >>> 8);
        os.write(val);
    }//www  . j  av  a2s  .c o  m
}

Related

  1. writeInt(OutputStream buffer, int value)
  2. writeInt(OutputStream dest, int val)
  3. writeInt(OutputStream file, int value)
  4. writeInt(OutputStream os, int n)
  5. writeInt(OutputStream os, int v)
  6. writeInt(OutputStream os, int value)
  7. writeInt(OutputStream os, int value)
  8. writeInt(OutputStream os, int value)
  9. writeInt(OutputStream os, long v)