Class RawObjectInputStream


  • public class RawObjectInputStream
    extends Object
    Wrapper class for an ObjectInputStream. Allows to perform raw byte operations on the underlying input stream.
    Author:
    Tobias Neitzel (@qtc_de)
    • Constructor Detail

      • RawObjectInputStream

        public RawObjectInputStream​(ObjectInputStream in)
        Wraps an ObjectInputStream into an RawObjectInputStream. The underlying InputStream object is made accessible via reflection. This underlying InputStream can then be used to perform raw byte operations.
        Parameters:
        in - ObjectInputStream to wrap around
    • Method Detail

      • skip

        public void skip​(int n)
                  throws IOException
        Skip the next n bytes of input on the stream.
        Parameters:
        n - amount of bytes to skip
        Throws:
        IOException - internal error