public int PutUInt32(uint var) { int prevIndex = WrittenBytes; Write(BitConverter.GetBytes(var)); return prevIndex; }