D2 MemoryStream

John C johnch_atms at hotmail.com
Tue Jun 30 01:41:10 PDT 2009


MemoryStream's constructors are currently defined like this:

  this(ubyte[] buf);
  this(byte[] buf);
  this(char[] buf);

Does anyone use byte (as opposed to ubyte)? And if the purpose of the char[] overload is to accept a string, it should just take a string -- ie, immutable(char)[] -- instead. Bug?



More information about the Digitalmars-d mailing list