コード例 #1
0
        private void Reset()
        {
            if (BinaryStreamWriter == null)
            {
                throw new Exception("[RS] Binary writer is null.");
            }

            if (ObjectDataWriter == null)
            {
                throw new Exception("[RS] Object writer is null.");
            }

            // Reset
            BinaryStreamWriter.Reset();
            ObjectDataWriter.Reset();
        }