public interface WriteByteStrategy
| Modifier and Type | Method and Description |
|---|---|
void |
writeBytes(java.io.DataOutputStream dataOutputStream,
byte[] bytes)
Writes the given bytes to dataOutputStream in an implementation-specific way.
|
void writeBytes(java.io.DataOutputStream dataOutputStream,
byte[] bytes)
throws java.io.IOException
dataOutputStream - the stream the bytes will be written to.bytes - the bytes that are writtenjava.io.IOException - if an exception is thrown while writing the bytes.