Package erjang

Examples of erjang.EOutputStream.write_any()


  @BIF
  public static EBinary term_to_binary(EObject obj) {
    EOutputStream eos = new EOutputStream();
    eos.write(EExternal.versionTag);
    eos.write_any(obj);
    return eos.getBinaryContent();   
  }
 
  @BIF
  public static ESmall external_size(EObject obj) {
View Full Code Here


    EOutputStream eos = new EOutputStream();
    eos.write(EExternal.versionTag);
    if (compression != 0) {
      eos.write_compressed(obj, compression);
    } else {
      eos.write_any(obj);
    }
    return eos.getBinaryContent();   
  }

  @BIF
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.