Package org.fressian.impl
Class RawOutput
java.lang.Object
org.fressian.impl.RawOutput
- All Implemented Interfaces:
Closeable
,AutoCloseable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
int
void
reset()
void
writeRawByte
(int b) void
writeRawBytes
(byte[] bytes, int off, int len) void
writeRawDouble
(double d) void
writeRawFloat
(float f) void
writeRawInt16
(int s) void
writeRawInt24
(int i) void
writeRawInt32
(int i) void
writeRawInt40
(long i) void
writeRawInt48
(long i) void
writeRawInt64
(long l)
-
Constructor Details
-
RawOutput
-
-
Method Details
-
writeRawByte
- Throws:
IOException
-
writeRawInt16
- Throws:
IOException
-
writeRawInt24
- Throws:
IOException
-
writeRawInt32
- Throws:
IOException
-
writeRawInt40
- Throws:
IOException
-
writeRawInt48
- Throws:
IOException
-
writeRawInt64
- Throws:
IOException
-
writeRawDouble
- Throws:
IOException
-
writeRawFloat
- Throws:
IOException
-
writeRawBytes
- Throws:
IOException
-
getChecksum
-
getBytesWritten
public int getBytesWritten() -
reset
public void reset() -
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-