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