All Downloads are FREE. Search and download functionalities are using the official Maven repository.

hprose.io.serialize.BigIntegerSerializer Maven / Gradle / Ivy

/**********************************************************\
|                                                          |
|                          hprose                          |
|                                                          |
| Official WebSite: http://www.hprose.com/                 |
|                   http://www.hprose.org/                 |
|                                                          |
\**********************************************************/
/**********************************************************\
 *                                                        *
 * BigIntegerSerializer.java                              *
 *                                                        *
 * BigInteger serializer class for Java.                  *
 *                                                        *
 * LastModified: Aug 6, 2016                              *
 * Author: Ma Bingyao                   *
 *                                                        *
\**********************************************************/

package hprose.io.serialize;

import java.io.IOException;
import java.math.BigInteger;

public final class BigIntegerSerializer implements Serializer {

    public final static BigIntegerSerializer instance = new BigIntegerSerializer();

    public final void write(Writer writer, BigInteger obj) throws IOException {
        ValueWriter.write(writer.stream, obj);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy