[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/IO BinaryWriter.cs,1.1
From: |
Gopal.V <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/IO BinaryWriter.cs,1.1,1.2 |
Date: |
Thu, 07 Nov 2002 14:46:08 -0500 |
Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/System/IO
In directory subversions:/tmp/cvs-serv15321/runtime/System/IO
Modified Files:
BinaryWriter.cs
Log Message:
byteCount for BinaryWriter.Write(String)
Index: BinaryWriter.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/IO/BinaryWriter.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** BinaryWriter.cs 11 Dec 2001 11:02:46 -0000 1.1
--- BinaryWriter.cs 7 Nov 2002 19:46:05 -0000 1.2
***************
*** 364,367 ****
--- 364,368 ----
{
char[] chars;
+ int byteCount;
if(value == null)
{
***************
*** 369,372 ****
--- 370,375 ----
}
chars = value.ToCharArray();
+ byteCount = encoder.GetByteCount(chars, 0,
chars.Length, true);
+ Write7BitEncodedInt(byteCount); /* byteCount no
charCount */
Write(chars, 0, chars.Length);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/IO BinaryWriter.cs,1.1,1.2,
Gopal.V <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] CVS: pnetlib/System/ComponentModel AmbientValueAttribute.cs,NONE,1.1 BindableAttribute.cs,NONE,1.1 BindableSupport.cs,NONE,1.1 BrowsableAttribute.cs,NONE,1.1 CategoryAttribute.cs,NONE,1.1 CollectionChangeAction.cs,NONE,1.1 DefaultEventAttribute.cs,NONE,1.1 DefaultPropertyAttribute.cs,NONE,1.1 DefaultValueAttribute.cs,NONE,1.1 DescriptionAttribute.cs,NONE,1.1 DesignerAttribute.cs,NONE,1.1 DesignerSerializationVisibility.cs,NONE,1.1 EditorBrowsableState.cs,NONE,1.1 InheritanceLevel.cs,NONE,1.1 LicenseUsageMode.cs,NONE,1.1 ListChangedType.cs,NONE,1.1 ListSortDirection.cs,NONE,1.1 PropertyTabScope.cs,NONE,1.1 RefreshProperties.cs,NONE,1.1 ToolboxItemFilterType.cs,NONE,1.1 TypeConverter.cs,1.1,1.2 TypeConverterAttribute.cs,1.1,1.2
- Next by Date:
[Dotgnu-pnet-commits] CVS: pnetlib ChangeLog,1.423,1.424
- Previous by thread:
[Dotgnu-pnet-commits] CVS: pnetlib/System/ComponentModel AmbientValueAttribute.cs,NONE,1.1 BindableAttribute.cs,NONE,1.1 BindableSupport.cs,NONE,1.1 BrowsableAttribute.cs,NONE,1.1 CategoryAttribute.cs,NONE,1.1 CollectionChangeAction.cs,NONE,1.1 DefaultEventAttribute.cs,NONE,1.1 DefaultPropertyAttribute.cs,NONE,1.1 DefaultValueAttribute.cs,NONE,1.1 DescriptionAttribute.cs,NONE,1.1 DesignerAttribute.cs,NONE,1.1 DesignerSerializationVisibility.cs,NONE,1.1 EditorBrowsableState.cs,NONE,1.1 InheritanceLevel.cs,NONE,1.1 LicenseUsageMode.cs,NONE,1.1 ListChangedType.cs,NONE,1.1 ListSortDirection.cs,NONE,1.1 PropertyTabScope.cs,NONE,1.1 RefreshProperties.cs,NONE,1.1 ToolboxItemFilterType.cs,NONE,1.1 TypeConverter.cs,1.1,1.2 TypeConverterAttribute.cs,1.1,1.2
- Next by thread:
[Dotgnu-pnet-commits] CVS: pnetlib ChangeLog,1.423,1.424
- Index(es):