-package org.simantics.db.service;\r
-\r
-public interface ByteReader {\r
- /*\r
- * Reads bytes from data source.\r
- * \r
- * Assumes that enough bytes are available.\r
- * \r
- * Uses and returns the supplied buffer.\r
- * \r
- * Allocates a new buffer if null buffer is supplied.\r
- * \r
- */\r
- byte[] readBytes(byte[] buffer, int amount);\r
+package org.simantics.db.service;
+
+public interface ByteReader {
+ /*
+ * Reads bytes from data source.
+ *
+ * Assumes that enough bytes are available.
+ *
+ * Uses and returns the supplied buffer.
+ *
+ * Allocates a new buffer if null buffer is supplied.
+ *
+ */
+ byte[] readBytes(byte[] buffer, int amount);