/** {@inheritDoc} */ @Override public void writeBinary(BinaryWriter writer) throws BinaryObjectException { writeRawBinary(writer.rawWriter()); }
/** * Write IGFS path. * * @param writer Writer. * @param path Path. */ public static void writePath(BinaryRawWriter writer, @Nullable IgfsPath path) { if (path != null) { writer.writeBoolean(true); path.writeRawBinary(writer); } else writer.writeBoolean(false); }
/** {@inheritDoc} */ @Override public void writeBinary(BinaryWriter writer) throws BinaryObjectException { writeRawBinary(writer.rawWriter()); }
/** * Write IGFS path. * * @param writer Writer. * @param path Path. */ public static void writePath(BinaryRawWriter writer, @Nullable IgfsPath path) { if (path != null) { writer.writeBoolean(true); path.writeRawBinary(writer); } else writer.writeBoolean(false); }