Index: tools/servicec/lib/src/resources/java/dartino/MessageReader.java |
diff --git a/tools/servicec/lib/src/resources/java/dartino/MessageReader.java b/tools/servicec/lib/src/resources/java/dartino/MessageReader.java |
deleted file mode 100644 |
index 4659d465b98ca60ea853e03a7d5eb8316efecbe0..0000000000000000000000000000000000000000 |
--- a/tools/servicec/lib/src/resources/java/dartino/MessageReader.java |
+++ /dev/null |
@@ -1,20 +0,0 @@ |
-// Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE.md file. |
- |
-package dartino; |
- |
-class MessageReader { |
- public MessageReader(byte[][] rawSegments) { |
- int length = rawSegments.length; |
- segments = new Segment[length]; |
- for (int i = 0; i < length; i++) { |
- segments[i] = new Segment(this, rawSegments[i]); |
- } |
- } |
- |
- public int segmentCount() { return segments.length; } |
- public Segment getSegment(int id) { return segments[id]; } |
- |
- private Segment[] segments; |
-} |