Here you can find the source of roundUpToNearestEightBytes(long result)
private static long roundUpToNearestEightBytes(long result)
//package com.java2s; public class Main { private static long roundUpToNearestEightBytes(long result) { if ((result % 8) != 0) { result += 8 - (result % 8);/*from w ww . ja va 2 s .co m*/ } return result; } }