Examples of registerCrossPlatformClassMappingUseSimpleName()


Examples of org.nustaq.serialization.FSTConfiguration.registerCrossPlatformClassMappingUseSimpleName()

    }

    @Test
    public void demo() {
        FSTConfiguration conf = FSTConfiguration.createMinBinConfiguration();
        conf.registerCrossPlatformClassMappingUseSimpleName( Arrays.asList(
            (Class)MinBinDemo.class,
            (Class)ARecord.class
        ));
        new MBPrinter().printMessage(conf.asByteArray(new MinBinDemo()));
    }
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.