diff options
author | Josh Micich <josh@apache.org> | 2008-10-24 02:08:47 +0000 |
---|---|---|
committer | Josh Micich <josh@apache.org> | 2008-10-24 02:08:47 +0000 |
commit | 3b2241f86cea431eb4ab287bc71a7332c126a194 (patch) | |
tree | 70a93cae7ffba87a59d9d3bee3dae02913ebaab5 /src/java/org/apache/poi/util/LittleEndianByteArrayOutputStream.java | |
parent | b4265b89039ac2ddd7be69fd2955834cf72f4a33 (diff) | |
download | poi-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.java | 3 |
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; + } } |