Package net.simplace.core.io.endian
Class LittleEndianOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
net.simplace.core.io.endian.LittleEndianOutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
-
Field Summary
Fields inherited from class java.io.FilterOutputStream
out
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
size()
void
write
(byte[] data, int offset, int length) void
write
(int b) void
writeBoolean
(boolean b) void
writeByte
(int b) void
writeBytes
(String s) void
writeChar
(int c) void
writeChars
(String s) final void
writeDouble
(double d) final void
writeFloat
(float f) void
writeInt
(int i) void
writeLong
(long l) void
writeShort
(int s) void
Methods inherited from class java.io.FilterOutputStream
close, flush, write
Methods inherited from class java.io.OutputStream
nullOutputStream
-
Field Details
-
written
protected int written
-
-
Constructor Details
-
LittleEndianOutputStream
-
-
Method Details
-
write
- Overrides:
write
in classFilterOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classFilterOutputStream
- Throws:
IOException
-
writeBoolean
- Throws:
IOException
-
writeByte
- Throws:
IOException
-
writeShort
- Throws:
IOException
-
writeChar
- Throws:
IOException
-
writeInt
- Throws:
IOException
-
writeLong
- Throws:
IOException
-
writeFloat
- Throws:
IOException
-
writeDouble
- Throws:
IOException
-
writeBytes
- Throws:
IOException
-
writeChars
- Throws:
IOException
-
writeUTF
- Throws:
IOException
-
size
public int size()
-