+ /**
+ * Write length OF header
+ * @param out writing buffer
+ * @param index writing index
+ */
+ public static void updateOFHeaderLength(final ByteBuf out, int index) {
+ out.setShort(index + EncodeConstants.OFHEADER_LENGTH_INDEX, out.writerIndex() - index);
+ }
+