com.stimulsoft.base.utils
Class StiByteArrayOutputStream
java.lang.Object
java.io.OutputStream
java.io.ByteArrayOutputStream
com.stimulsoft.base.utils.StiByteArrayOutputStream
- All Implemented Interfaces:
- Closeable, Flushable
public class StiByteArrayOutputStream
- extends ByteArrayOutputStream
ByteArrayOutputStream wrapper
Copyright Stimulsoft
|
Method Summary |
static byte[] |
toByteArray(int[] array)
Convert int array to byte array |
void |
write(int[] b,
int off,
int len)
Write int array with offset |
void |
writeOffset(int offset,
byte[] b,
int off,
int len)
Write byte array with offset |
void |
writeOffset(int offset,
int[] b,
int off,
int len)
Write int array with offset |
StiByteArrayOutputStream
public StiByteArrayOutputStream()
writeOffset
public void writeOffset(int offset,
byte[] b,
int off,
int len)
- Write byte array with offset
- Parameters:
offset - b - off - len -
writeOffset
public void writeOffset(int offset,
int[] b,
int off,
int len)
- Write int array with offset
- Parameters:
offset - b - off - len -
write
public void write(int[] b,
int off,
int len)
- Write int array with offset
- Parameters:
b - off - len -
toByteArray
public static byte[] toByteArray(int[] array)
- Convert int array to byte array
- Parameters:
array -
- Returns:
Copyright © 2017 Stimulsoft. All Rights Reserved.