# GG-9613: Reverted accidently changed file.

Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/7096402e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/7096402e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/7096402e

Branch: refs/heads/ignite-gg-9702
Commit: 7096402e2d59e3f8ca4fe26e791699d1ffcc9899
Parents: ec8d4cc
Author: vozerov-gridgain <voze...@gridgain.com>
Authored: Tue Apr 21 15:23:31 2015 +0300
Committer: vozerov-gridgain <voze...@gridgain.com>
Committed: Tue Apr 21 15:23:31 2015 +0300

----------------------------------------------------------------------
 .../portable/GridPortableInputStream.java        | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/7096402e/modules/core/src/main/java/org/apache/ignite/internal/processors/portable/GridPortableInputStream.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/main/java/org/apache/ignite/internal/processors/portable/GridPortableInputStream.java
 
b/modules/core/src/main/java/org/apache/ignite/internal/processors/portable/GridPortableInputStream.java
index 554b28f..3c676bf 100644
--- 
a/modules/core/src/main/java/org/apache/ignite/internal/processors/portable/GridPortableInputStream.java
+++ 
b/modules/core/src/main/java/org/apache/ignite/internal/processors/portable/GridPortableInputStream.java
@@ -150,6 +150,25 @@ public interface GridPortableInputStream extends 
GridPortableStream {
     public double[] readDoubleArray(int cnt);
 
     /**
+     * Read data to byte array.
+     *
+     * @param arr Array.
+     * @param off Offset.
+     * @param len Length.
+     * @return Amount of actual bytes read.
+     */
+    public int read(byte[] arr, int off, int len);
+
+    /**
+     * Read data to the given address.
+     *
+     * @param addr Address.
+     * @param len Length.
+     * @return Amount of actual bytes read.
+     */
+    public int read(long addr, int len);
+
+    /**
      * Gets amount of remaining data in bytes.
      *
      * @return Remaining data.

Reply via email to