Package com.webobjects.foundation

Examples of com.webobjects.foundation.NSMutableData.appendBytes()


     * data 0100 nnnn [int] ... // nnnn is number of bytes unless 1111 then int count follows, followed by bytes
     */
    private byte[] encodeData(byte[] theData) {
      NSMutableData data = new NSMutableData(theData.length + 8);
      data.appendBytes(encodeCount(theData.length, Type.kCFBinaryPlistMarkerData));
      data.appendBytes(theData);
      return data.bytes();
    }

  }

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.