internalBytesOut = new WireByteArrayOutputStream();
internalDataOut = new DataOutputStream(internalBytesOut);
internalBytesIn = new WireByteArrayInputStream();
internalDataIn = new DataInputStream(internalBytesIn);
this.currentWireFormatVersion = WIRE_FORMAT_VERSION;
this.cachedKeyGenerator = new SynchronizedShort((short) 0);
this.cachedBytesOut = new WireByteArrayOutputStream();
this.cachedDataOut = new DataOutputStream(cachedBytesOut);
}