Package org.omg.CORBA.portable

Examples of org.omg.CORBA.portable.InputStream.read_boolean()


        os.write_wstring("bye");

        InputStream is = os.create_input_stream();
        assertTrue(is.available() > 0);

        assertEquals(is.read_boolean(), true);
        assertEquals(is.read_char(), 'a');
        assertEquals(is.read_double(), 1.234, 0.001);
        assertEquals(is.read_float(), 2.345f, 0.001f);
        assertEquals(is.read_long(), 987);
        assertEquals(is.read_longlong(), 876);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.