Package com.alibaba.dubbo.common.serialize.support.dubbo

Examples of com.alibaba.dubbo.common.serialize.support.dubbo.GenericDataOutput


  public void testMain() throws Exception
  {
    // write.
    UnsafeByteArrayOutputStream os = new UnsafeByteArrayOutputStream();
    DataOutput cos = new GenericDataOutput(os);
    writeTest(cos);

    // read.
    byte[] b = os.toByteArray();
    DataInput cis = new GenericDataInput(new UnsafeByteArrayInputStream(b));
View Full Code Here

TOP

Related Classes of com.alibaba.dubbo.common.serialize.support.dubbo.GenericDataOutput

Copyright © 2018 www.massapicom. 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.