private void ReadAndProcessLength(EmberId id, bool isInner)
{
var lengthPosition = this.readBuffer.Position;
var length = ReadLength(this.readBuffer);
this.endPositions.Push(new PositionInfo(id, isInner, lengthPosition, this.readBuffer.Position + length));
}