return NS_NewByteBuffer(getter_AddRefs(mBuffer), NULL, mBufferSize);
mBuffer = new char[mBufferSize]; if (!mBuffer) return NS_ERROR_OUT_OF_MEMORY; return NS_OK;
NS_IMETHODIMP TokenStreamListener::OnStartRequest(nsIRequest *aRequest, nsISupports *aContext){    return NS_NewByteBuffer(getter_AddRefs(mBuffer), NULL, mBufferSize);}