private static void serializeIVRecord(ByteBuf outputBuf, byte[] iv) {
      outputBuf.writeShort(IV_RECORD_VERSION_V_1);
      outputBuf.writeInt(iv.length);
      outputBuf.writeBytes(iv);
    }
Serialize IV into {@link ByteBuf}
@param outputBuf the {@link ByteBuf} to which the IV needs to be serialized
@param iv the iv of type byte array that needs to be serialized
ambry-router/src/main/java/com/github/ambry/router/GCMCryptoService.java