MsgBuffer.cs: Invaraints moved to extra method.