X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.db%2Fsrc%2Forg%2Fsimantics%2Fdb%2Fservice%2FByteReader.java;h=3ce3f6cdbb8c32da89bc9a5dd852643593c5117e;hb=c26409b1caf2f1e560d37c5befd11b442399c3fe;hp=58e0901b7269a9d12f29fdcd4608a887395546d3;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.db/src/org/simantics/db/service/ByteReader.java b/bundles/org.simantics.db/src/org/simantics/db/service/ByteReader.java index 58e0901b7..3ce3f6cdb 100644 --- a/bundles/org.simantics.db/src/org/simantics/db/service/ByteReader.java +++ b/bundles/org.simantics.db/src/org/simantics/db/service/ByteReader.java @@ -1,15 +1,15 @@ -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); +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); } \ No newline at end of file