aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/poi/util/LittleEndianByteArrayOutputStream.java
diff options
context:
space:
mode:
authorJosh Micich <josh@apache.org>2008-10-24 02:08:47 +0000
committerJosh Micich <josh@apache.org>2008-10-24 02:08:47 +0000
commit3b2241f86cea431eb4ab287bc71a7332c126a194 (patch)
tree70a93cae7ffba87a59d9d3bee3dae02913ebaab5 /src/java/org/apache/poi/util/LittleEndianByteArrayOutputStream.java
parentb4265b89039ac2ddd7be69fd2955834cf72f4a33 (diff)
downloadpoi-3b2241f86cea431eb4ab287bc71a7332c126a194.tar.gz
poi-3b2241f86cea431eb4ab287bc71a7332c126a194.zip
Further conversion of Ptg classes to use LittleEndian input/output interfaces
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@707525 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/poi/util/LittleEndianByteArrayOutputStream.java')
-rw-r--r--src/java/org/apache/poi/util/LittleEndianByteArrayOutputStream.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/java/org/apache/poi/util/LittleEndianByteArrayOutputStream.java b/src/java/org/apache/poi/util/LittleEndianByteArrayOutputStream.java
index 598a9cbdbc..b77407c7a9 100644
--- a/src/java/org/apache/poi/util/LittleEndianByteArrayOutputStream.java
+++ b/src/java/org/apache/poi/util/LittleEndianByteArrayOutputStream.java
@@ -81,4 +81,7 @@ public final class LittleEndianByteArrayOutputStream implements LittleEndianOutp
System.arraycopy(b, 0, _buf, _writeIndex, len);
_writeIndex += len;
}
+ public int getWriteIndex() {
+ return _writeIndex;
+ }
}