Package org.smpp.util

Examples of org.smpp.util.ByteBuffer.appendByte()


    markValueSet();
  }

  protected ByteBuffer getValueData() throws ValueNotSetException {
    ByteBuffer valueBuf = new ByteBuffer();
    valueBuf.appendByte(getValue());
    return valueBuf;
  }

  public void setValue(byte p_value) {
    value = p_value;
View Full Code Here


   * Creates byt buffer containing one unsigned byte.
   * @return the byte buffer with one unsingned byte
   */
  protected ByteBuffer getValueData() throws ValueNotSetException {
    ByteBuffer valueBuf = new ByteBuffer();
    valueBuf.appendByte(encodeUnsigned(getValue()));
    return valueBuf;
  }

  /**
   * Sets the value of the TLV to the new value.
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.