write2Byte static method

void write2Byte(
  1. List stream,
  2. int value
)

Implementation

static void write2Byte(List stream, int value){
  stream.add((value >> 8) & 0xFF);
  stream.add(value & 0xFF);
}