--- /dev/null
+/*******************************************************************************\r
+ * Copyright (c) 2016 Association for Decentralized Information Management\r
+ * in Industry THTH ry.\r
+ * All rights reserved. This program and the accompanying materials\r
+ * are made available under the terms of the Eclipse Public License v1.0\r
+ * which accompanies this distribution, and is available at\r
+ * http://www.eclipse.org/legal/epl-v10.html\r
+ *\r
+ * Contributors:\r
+ * Semantum Oy - initial API and implementation\r
+ *******************************************************************************/\r
+package org.simantics.databoard.util.binary;\r
+\r
+import java.io.IOException;\r
+import java.nio.ByteBuffer;\r
+\r
+/**\r
+ * @author Tuukka Lehtonen\r
+ * @since 1.22.1 & 1.24.0\r
+ */\r
+public class NullBinaryWriteable implements BinaryWriteable {\r
+\r
+ @Override\r
+ public void writeFully(ByteBuffer src) throws IOException {\r
+ }\r
+\r
+ @Override\r
+ public void writeFully(ByteBuffer src, int length) throws IOException {\r
+ }\r
+\r
+ @Override\r
+ public void write(int b) throws IOException {\r
+ }\r
+\r
+ @Override\r
+ public void write(byte[] b) throws IOException {\r
+ }\r
+\r
+ @Override\r
+ public void write(byte[] b, int off, int len) throws IOException {\r
+ }\r
+\r
+ @Override\r
+ public void writeBoolean(boolean v) throws IOException {\r
+ }\r
+\r
+ @Override\r
+ public void writeByte(int v) throws IOException {\r
+ }\r
+\r
+ @Override\r
+ public void writeShort(int v) throws IOException {\r
+ }\r
+\r
+ @Override\r
+ public void writeChar(int v) throws IOException {\r
+ }\r
+\r
+ @Override\r
+ public void writeInt(int v) throws IOException {\r
+ }\r
+\r
+ @Override\r
+ public void writeLong(long v) throws IOException {\r
+ }\r
+\r
+ @Override\r
+ public void writeFloat(float v) throws IOException {\r
+ }\r
+\r
+ @Override\r
+ public void writeDouble(double v) throws IOException {\r
+ }\r
+\r
+ @Override\r
+ public void writeBytes(String s) throws IOException {\r
+ }\r
+\r
+ @Override\r
+ public void writeChars(String s) throws IOException {\r
+ }\r
+\r
+ @Override\r
+ public void writeUTF(String s) throws IOException {\r
+ }\r
+\r
+ @Override\r
+ public void flush() throws IOException {\r
+ }\r
+\r
+}\r