public interface Encoder
Modifier and Type | Method and Description |
---|---|
int |
decode(byte[] data,
int off,
int length,
java.io.OutputStream out)
Decode the byte data
|
int |
decode(java.lang.String data,
java.io.OutputStream out)
Decode the byte data
|
int |
encode(byte[] data,
int off,
int length,
java.io.OutputStream out)
Encode the byte data
|
int encode(byte[] data, int off, int length, java.io.OutputStream out) throws java.io.IOException
data
- Данные для кодированияoff
- Начальный сдвигlength
- Длинаout
- Поток для записиjava.io.IOException
int decode(byte[] data, int off, int length, java.io.OutputStream out) throws java.io.IOException
data
- Данные для декодированияoff
- Начальный сдвигlength
- Длинаout
- Поток для записиjava.io.IOException
int decode(java.lang.String data, java.io.OutputStream out) throws java.io.IOException
data
- Данные для декодированияout
- Поток для записиjava.io.IOException
Copyright © 1998-2014 Gamma Technologies. All Rights Reserved.