public void Write(Stream stream) { using (PooledBitWriter writer = PooledBitWriter.Get(stream)) { writer.WriteByte((byte)LocationIndex); writer.WriteString(Question); writer.WriteIntArrayPacked(Answers, ANSWER_COUNT); } }
public void Write(Stream stream) { using (PooledBitWriter writer = PooledBitWriter.Get(stream)) { writer.WriteByte((byte)LocationIndex); writer.WriteString(Question); writer.WriteIntArrayPacked(Answers, ANSWER_COUNT); } }