if (aBufferSize == 0) { aBufferSize = 8192; }   NS_NewByteBuffer(getter_AddRefs(mByteData), nsnull, aBufferSize); NS_NewUnicharBuffer(getter_AddRefs(mUnicharData), nsnull, aBufferSize);  mByteDataOffset = 0; mUnicharDataOffset = 0; mUnicharDataLength = 0;
UTF8InputStream::UTF8InputStream(nsIInputStream* aStream,                                 PRUint32 aBufferSize) :  mInput(aStream){  NS_INIT_ISUPPORTS();  if (aBufferSize == 0) {    aBufferSize = 8192;  }  // XXX what if these fail?  NS_NewByteBuffer(getter_AddRefs(mByteData), nsnull, aBufferSize);  NS_NewUnicharBuffer(getter_AddRefs(mUnicharData), nsnull, aBufferSize);  mByteDataOffset = 0;  mUnicharDataOffset = 0;  mUnicharDataLength = 0;}