Java Utililty Methods OutputStream Write Long

List of utility methods to do OutputStream Write Long

Description

The list of methods to do OutputStream Write Long are organized into topic(s).

Method

voidwriteInt(long v, OutputStream out)
write Int
out.write((int) ((v >>> 0) & 0xff));
out.write((int) ((v >>> 8) & 0xff));
out.write((int) ((v >>> 16) & 0xff));
out.write((int) ((v >>> 24) & 0xff));
voidwriteInt32LE(OutputStream os, long val)
write Int LE
writeInt32LE(os, (int) val);
voidwriteInt3BE(OutputStream out, long v)
write Int BE
byte[] b3 = new byte[3];
putInt3BE(b3, 0, v);
out.write(b3);