Class PDUDecoder
java.lang.Object
java.io.InputStream
org.aoju.bus.image.metric.PDVInputStream
org.aoju.bus.image.metric.internal.pdu.PDUDecoder
- All Implemented Interfaces:
Closeable,AutoCloseable
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal intvoidclose()voidcopyTo(OutputStream out) voidcopyTo(OutputStream out, int length) voidbooleanvoidnextPDU()intread()intread(byte[] b, int off, int len) readDataset(String tsuid) longskip(long n) longskipAll()Methods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skipNBytes, transferTo
-
Constructor Details
-
PDUDecoder
-
-
Method Details
-
nextPDU
- Throws:
IOException
-
decodeDIMSE
- Throws:
IOException
-
readDataset
- Specified by:
readDatasetin classPDVInputStream- Throws:
IOException
-
isPendingPDV
public boolean isPendingPDV() -
read
- Specified by:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
available
public final int available()- Overrides:
availablein classInputStream
-
skip
- Overrides:
skipin classInputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-
skipAll
- Specified by:
skipAllin classPDVInputStream- Throws:
IOException
-
copyTo
- Specified by:
copyToin classPDVInputStream- Throws:
IOException
-
copyTo
- Specified by:
copyToin classPDVInputStream- Throws:
IOException
-