Examples of ByteArrayReader


Examples of net.solosky.maplefetion.net.buffer.ByteArrayReader

     * @param reader
     */
    protected void bytesRecived(byte[] buff, int offset, int len)
    {
      try {
          this.processIncoming(new ByteArrayReader(buff, len));
        } catch (FetionException e) {
           this.raiseException(e);
        }catch(Throwable t) {
          this.raiseException(new SystemException(t, new String(Arrays.copyOfRange(buff, offset, offset+len))));
        }
View Full Code Here

Examples of org.jasen.io.ByteArrayReader

            parcelUrl = prepareItemURL(manager.getConfiguration().getUpdateURL(), manager.getConfiguration().getParcel());

            WebUtils.get(parcelUrl, bout, manager.getConfiguration().getReadBuffer(),manager.getConfiguration().getReadTimeout());

            // Use the digester to parse the file
            ByteArrayReader reader = new ByteArrayReader(bout.toByteArray());
            parcel = (JasenAutoUpdateParcel)digester.parse(reader);

            // Check the current parcel against the last recorded parcel
            oldParcel = loadLastParcel();
View Full Code Here

Examples of org.nfctools.io.ByteArrayReader

  public void runInitiator() {
    try {
      nfcDevice.open();

      ByteArrayReader reader = new ByteArrayInputStreamReader(
          ((InputOutputToken)nfcDevice.getConnectionToken()).getInputStream());
      ByteArrayWriter writer = new ArygonLowLevelWriter(new ByteArrayOutputStreamWriter(
          ((InputOutputToken)nfcDevice.getConnectionToken()).getOutputStream()));

      byte[] nfcId = { 0x0F, 0x0F, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x0F, 0x0F };
View Full Code Here

Examples of org.nfctools.io.ByteArrayReader

  }

  public void runTarget() {
    try {
      nfcDevice.open();
      ByteArrayReader reader = new ByteArrayInputStreamReader(
          ((InputOutputToken)nfcDevice.getConnectionToken()).getInputStream());
      ByteArrayWriter writer = new ArygonLowLevelWriter(new ByteArrayOutputStreamWriter(
          ((InputOutputToken)nfcDevice.getConnectionToken()).getOutputStream()));

      byte[] nfcId3t = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
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.