private WriteValue ( InternalPrimitiveTypeE code, Object value ) : void | ||
code | InternalPrimitiveTypeE | |
value | Object | |
return | void |
internal static void WriteWithCode(Type type, object value, __BinaryWriter sout) { if (type == null) { sout.WriteByte(0x11); } else if (object.ReferenceEquals(type, Converter.typeofString)) { WriteStringWithCode((string)value, sout); } else { InternalPrimitiveTypeE code = Converter.ToCode(type); sout.WriteByte((byte)code); sout.WriteValue(code, value); } }
// Token: 0x0600529C RID: 21148 RVA: 0x0012229C File Offset: 0x0012049C internal static void WriteWithCode(Type type, object value, __BinaryWriter sout) { if (type == null) { sout.WriteByte(17); return; } if (type == Converter.typeofString) { IOUtil.WriteStringWithCode((string)value, sout); return; } InternalPrimitiveTypeE internalPrimitiveTypeE = Converter.ToCode(type); sout.WriteByte((byte)internalPrimitiveTypeE); sout.WriteValue(internalPrimitiveTypeE, value); }
internal static void WriteWithCode(Type type, object value, __BinaryWriter sout) { if (type == null) { sout.WriteByte(0x11); } else if (object.ReferenceEquals(type, Converter.typeofString)) { WriteStringWithCode((string) value, sout); } else { InternalPrimitiveTypeE code = Converter.ToCode(type); sout.WriteByte((byte) code); sout.WriteValue(code, value); } }
public void Write(__BinaryWriter sout) { sout.WriteValue(typeInformation, value); }
public void Write(__BinaryWriter sout) { sout.WriteByte((Byte)BinaryHeaderEnum.MemberPrimitiveTyped); sout.WriteByte((Byte)primitiveTypeEnum); //pdj sout.WriteValue(primitiveTypeEnum, value); }
internal static void WriteWithCode(Type type, Object value, __BinaryWriter sout) { if ((object)type == null) sout.WriteByte((Byte)InternalPrimitiveTypeE.Null); else if (Object.ReferenceEquals(type, Converter.typeofString)) WriteStringWithCode((String)value, sout); else { InternalPrimitiveTypeE code = Converter.ToCode(type); sout.WriteByte((Byte)code); sout.WriteValue(code, value); } }
// Token: 0x060052F7 RID: 21239 RVA: 0x00123B64 File Offset: 0x00121D64 public void Write(__BinaryWriter sout) { sout.WriteValue(this.typeInformation, this.value); }
// Token: 0x060052DF RID: 21215 RVA: 0x0012330E File Offset: 0x0012150E public void Write(__BinaryWriter sout) { sout.WriteByte(8); sout.WriteByte((byte)this.primitiveTypeEnum); sout.WriteValue(this.primitiveTypeEnum, this.value); }
public void Write(__BinaryWriter sout) { sout.WriteByte(8); sout.WriteByte((byte) this.primitiveTypeEnum); sout.WriteValue(this.primitiveTypeEnum, this.value); }