public class GSMBitPacker extends Object
| Constructor and Description |
|---|
GSMBitPacker() |
public static byte[] pack(byte[] unpacked)
Having said all that, most SMSCs do NOT use the packing algorithm when communicating over TCP/IP. They either use a full 8-bit alphabet such as ASCII or Latin-1, or they accept the default alphabet in its unpacked form. As such, you will be unlikely to need this method.
unpacked - The unpacked byte array.public static byte[] unpack(byte[] packed)
pack method.packed - The packed byte array.pack(byte[])Copyright © 2012-2014 Cloudhopper by Twitter. All Rights Reserved.