public interface WritableMedia
Created by Y.Kiselev on 20.06.2016.
| Modifier and Type | Method and Description |
|---|---|
void |
writeBoolean(boolean value) |
void |
writeByte(byte value) |
void |
writeByteArray(byte[] value) |
void |
writeChar(char value) |
void |
writeCharArray(char[] value) |
void |
writeDouble(double value) |
void |
writeDoubleArray(double[] value) |
void |
writeFloat(float value) |
void |
writeFloatArray(float[] value) |
void |
writeInt(int value) |
void |
writeIntArray(int[] value) |
void |
writeLong(long value) |
void |
writeLongArray(long[] value) |
<T> void |
writeObject(T value) |
<T> void |
writeObjectArray(T[] value) |
void |
writePackedInteger(int value)
Stores positive integer as a variable length (1-5) sequence of bytes.
|
void |
writeRest(byte[] blob,
int count)
Writes byte blob of unknown data from next versions of model.
|
void |
writeShort(short value) |
void |
writeShortArray(short[] value) |
void |
writeString(String value) |
void writePackedInteger(int value)
throws IOException
value - the value to store. Must be positive.IOException - if I/O error occurred.void writeString(String value) throws IOException
IOExceptionvoid writeByte(byte value)
throws IOException
IOExceptionvoid writeChar(char value)
throws IOException
IOExceptionvoid writeShort(short value)
throws IOException
IOExceptionvoid writeInt(int value)
throws IOException
IOExceptionvoid writeLong(long value)
throws IOException
IOExceptionvoid writeFloat(float value)
throws IOException
IOExceptionvoid writeDouble(double value)
throws IOException
IOExceptionvoid writeBoolean(boolean value)
throws IOException
IOException<T> void writeObject(T value)
throws IOException
IOExceptionvoid writeByteArray(byte[] value)
throws IOException
IOExceptionvoid writeCharArray(char[] value)
throws IOException
IOExceptionvoid writeShortArray(short[] value)
throws IOException
IOExceptionvoid writeIntArray(int[] value)
throws IOException
IOExceptionvoid writeLongArray(long[] value)
throws IOException
IOExceptionvoid writeFloatArray(float[] value)
throws IOException
IOExceptionvoid writeDoubleArray(double[] value)
throws IOException
IOException<T> void writeObjectArray(T[] value)
throws IOException
IOExceptionvoid writeRest(byte[] blob,
int count)
throws IOException
blob - the data to writecount - the actual length of data in supplied blobIOException - if I/O error occurred.Copyright © 2016. All rights reserved.