public void Write<T>(object value)
 {
     BitStreamCodec codec = BitStreamCodec.GetCodec<T>();
     codec.Serializer(this, value, ref this.long_0);
 }
 public T Read<T>()
 {
     BitStreamCodec codec = BitStreamCodec.GetCodec<T>();
     return (T)((object)codec.Deserializer(this, ref this.long_1));
 }
 private static object smethod_33(BitStream bitStream_0, ref long long_0)
 {
     return(BitStreamCodec.GetCodec <string>().method_1(bitStream_0, ref long_0));
 }
 public static BitStreamCodec GetCodec <T>()
 {
     return(BitStreamCodec.GetCodec(typeof(T)));
 }
 private static object smethod_31(BitStream bitStream_0, ref long long_0)
 {
     return(BitStreamCodec.GetCodec <DateTime>().method_1(bitStream_0, ref long_0));
 }
 private static void smethod_32(BitStream bitStream_0, object object_0, ref long long_0)
 {
     BitStreamCodec.GetCodec <string>().method_0(bitStream_0, object_0, ref long_0);
 }
 private static object smethod_29(BitStream bitStream_0, ref long long_0)
 {
     return(BitStreamCodec.GetCodec <TimeSpan>().method_1(bitStream_0, ref long_0));
 }
 private static void smethod_30(BitStream bitStream_0, object object_0, ref long long_0)
 {
     BitStreamCodec.GetCodec <DateTime>().method_0(bitStream_0, object_0, ref long_0);
 }
 private static void smethod_28(BitStream bitStream_0, object object_0, ref long long_0)
 {
     BitStreamCodec.GetCodec <TimeSpan>().method_0(bitStream_0, object_0, ref long_0);
 }
 private static object smethod_27(BitStream bitStream_0, ref long long_0)
 {
     return(BitStreamCodec.GetCodec <decimal>().method_1(bitStream_0, ref long_0));
 }
 private static void smethod_26(BitStream bitStream_0, object object_0, ref long long_0)
 {
     BitStreamCodec.GetCodec <decimal>().method_0(bitStream_0, object_0, ref long_0);
 }
 private static void smethod_12(BitStream bitStream_0, object object_0, ref long long_0)
 {
     BitStreamCodec.GetCodec <ushort>().method_0(bitStream_0, object_0, ref long_0);
 }
 private static object smethod_5(BitStream bitStream_0, ref long long_0)
 {
     return(BitStreamCodec.GetCodec <char>().method_1(bitStream_0, ref long_0));
 }