private void writeShort(int value) throws IOException {
        out.write(value & 0xff);
        out.write((value >> 8) & 0xff);
    }
Write 16-bit value to output stream, LSB first
core/src/main/java/com/bumptech/glide/gifencoder/AnimatedGifEncoder.java