Parse context offset and size.